Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access current user with an SQL function #1399

Merged
merged 4 commits into from
Jan 27, 2021

Conversation

mattmundell
Copy link
Contributor

@mattmundell mattmundell commented Jan 26, 2021

What:

Access current user with an SQL function, and use db setting "gvmd.user.id" instead of "gvmd.user.uuid".

Why:

Neater. Fewer SQL statements.

How did you test it:

Started gvmd. Clicked around in GSA.

Checklist:

@mattmundell mattmundell marked this pull request as ready for review January 26, 2021 16:55
@timopollmeier timopollmeier merged commit 2b98743 into greenbone:master Jan 27, 2021
@mattmundell mattmundell deleted the db-setting-id branch February 1, 2021 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants