-
Notifications
You must be signed in to change notification settings - Fork 74
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
Conversation
return x | ||
|
||
|
||
InvenioAdmin(app, permission_factory=identity, view_class_factory=identity) |
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.
view_class_factory=lambda x: x
?
7ef0e65
to
ecbf5ca
Compare
@@ -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 |
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.
Check if needed.
82b09a7
to
0fca8fc
Compare
* Adds admin views for invenio-oauthclient Signed-off-by: Bruno Cuc <bruno.cuc@cern.ch>
@@ -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 |
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.
from . import config
|
follow_redirects=True | ||
) | ||
assert res.status_code == 200 | ||
# import ipdb; ipdb.set_trace() |
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.
!!!
Signed-off-by: Bruno Cuc bruno.cuc@cern.ch