-
Notifications
You must be signed in to change notification settings - Fork 26
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
[SHELVED] generator: allow explicit additional permissions #18
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job! :) Few things to discuss that might impact the tests.
@@ -103,26 +103,54 @@ def query_filter(self, record=None, **kwargs): | |||
|
|||
|
|||
class AnyUserIfPublic(Generator): | |||
"""Allows any user if record is public. | |||
"""Allows any user if record is open access. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mayor: TBD, But I would prefer not changing the existing generators until the exact issues have been clarified. I would create a different one, namely AnyUserIfOpen
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, let's wait to see what's the verdict on inveniosoftware/rfcs/pull/12 . I will wait until this is resolved to address this.
Blocked until |
fecda98
to
3b7b5b3
Compare
3b7b5b3
to
b86b46c
Compare
Shelved in favour of access levels |
not taking "access_right" into account in the end since it seemed
too purist (but open to adding it back).