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

global: addition of admin views #33

Closed
wants to merge 1 commit into from

Conversation

bruno314
Copy link

Signed-off-by: Bruno Cuc bruno.cuc@cern.ch

@lnielsen lnielsen changed the title global: admin views for invenio-oauth WIP global: admin views for invenio-oauth Jan 13, 2016
@jirikuncar jirikuncar changed the title WIP global: admin views for invenio-oauth WIP global: addition of admin views Jan 13, 2016
@jirikuncar jirikuncar added this to the v1.0.0 milestone Jan 13, 2016
return x


InvenioAdmin(app, permission_factory=identity, view_class_factory=identity)
Copy link
Member

Choose a reason for hiding this comment

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

view_class_factory=lambda x: x?

@bruno314 bruno314 force-pushed the adminviews branch 3 times, most recently from 7ef0e65 to ecbf5ca Compare January 13, 2016 15:58
@@ -41,3 +41,4 @@ recursive-include docs Makefile
recursive-include examples *.py
recursive-include invenio_oauthclient *.html
recursive-include invenio_oauthclient *.pot
recursive-include invenio_oauthclient *.py
Copy link
Member

Choose a reason for hiding this comment

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

Check if needed.

@bruno314 bruno314 force-pushed the adminviews branch 2 times, most recently from 82b09a7 to 0fca8fc Compare January 15, 2016 10:17
* Adds admin views for invenio-oauthclient

Signed-off-by: Bruno Cuc <bruno.cuc@cern.ch>
@bruno314 bruno314 changed the title WIP global: addition of admin views global: addition of admin views Jan 15, 2016
@@ -29,7 +29,8 @@
from flask_login import user_logged_out
from flask_oauthlib.client import OAuth as FlaskOAuth

from . import config
from invenio_oauthclient import config
Copy link
Member

Choose a reason for hiding this comment

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

from . import config

@jirikuncar
Copy link
Member

  • update copyright year in files you have touched

follow_redirects=True
)
assert res.status_code == 200
# import ipdb; ipdb.set_trace()
Copy link
Member

Choose a reason for hiding this comment

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

!!!

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.

None yet

3 participants