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

Adds ability for regular users to grant and revoke write permissions for their owned assets #1273

Merged
merged 11 commits into from
Aug 1, 2019

Conversation

pavgra
Copy link
Contributor

@pavgra pavgra commented Aug 1, 2019

Fixes #639

@pavgra pavgra requested a review from wivern August 1, 2019 12:54
"WHERE p.value IN :permissions " +
"GROUP BY r.id, r.name " +
"HAVING COUNT(p.value) = :permissionCnt"
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed with:

com.microsoft.sqlserver.jdbc.SQLServerException: Column 'ohdsi.SEC_ROLE.system_role' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.

@wivern wivern merged commit 93f0299 into master Aug 1, 2019
@wivern wivern deleted the issue-639 branch August 1, 2019 16:02
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.

Owner of an entity should be able to grant permissions for the entity update / delete / etc to others
2 participants