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

views: access control #15

Merged
merged 1 commit into from
Dec 1, 2015

Conversation

lnielsen
Copy link
Member

  • NEW Adds customizable access control to record views. Allow
    configuring different permissions per endpoint.

Signed-off-by: Lars Holm Nielsen lars.holm.nielsen@cern.ch

@lnielsen lnielsen self-assigned this Nov 23, 2015
@lnielsen lnielsen added this to the v1.0.0 milestone Nov 23, 2015
@lnielsen
Copy link
Member Author

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'
Copy link
Member

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'

Copy link
Member Author

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.

Copy link
Member Author

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')

@lnielsen lnielsen mentioned this pull request Nov 26, 2015
@lnielsen lnielsen force-pushed the master-accesscontrol branch 3 times, most recently from 4ffe031 to faa6820 Compare November 30, 2015 11:44
@lnielsen lnielsen changed the title WIP views: access control views: access control Nov 30, 2015
@lnielsen
Copy link
Member Author

Ping @nharraud: Here you can see the access control example for Records-UI.

@lnielsen
Copy link
Member Author

Depends on new release of Invenio-Records with permissions integrated.

* 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>
@lnielsen lnielsen mentioned this pull request Nov 30, 2015
@lnielsen lnielsen assigned jirikuncar and unassigned lnielsen Nov 30, 2015
@jirikuncar jirikuncar merged commit 922c677 into inveniosoftware:master Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants