-
Notifications
You must be signed in to change notification settings - Fork 28
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
views: access control #15
views: access control #15
Conversation
See also inveniosoftware/invenio-records#71 |
@@ -91,7 +91,7 @@ def load(): | |||
|
|||
# Record 1 - Live record | |||
with db.session.begin_nested(): | |||
rec_uuid = uuid.uuid4() | |||
rec_uuid = '9107e6ef-fea4-4971-ae2f-934d2fdcaa34' |
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.
shall we choose something artificial like: `deadbeef-1234-5678-ba11-b100dc0ffee5'
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.
We can't, since it has to be a valid UUID.
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.
I retract my statement :-)
>>> from uuid import UUID
>>> UUID('deadbeef-1234-5678-ba11-b100dc0ffee5')
UUID('deadbeef-1234-5678-ba11-b100dc0ffee5')
4ffe031
to
faa6820
Compare
Ping @nharraud: Here you can see the access control example for Records-UI. |
Depends on new release of Invenio-Records with permissions integrated. |
faa6820
to
ac0984e
Compare
* NEW Adds customizable access control to record views. Allow configuring different permissions per endpoint. (closes inveniosoftware#11) Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
ac0984e
to
922c677
Compare
configuring different permissions per endpoint.
Signed-off-by: Lars Holm Nielsen lars.holm.nielsen@cern.ch