mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-06 12:43:18 +00:00
Add new roles and a new permission
This commit is contained in:
@ -39,8 +39,9 @@ def create_app(config_class=Config):
|
||||
message_queue=app.config.get('NOPAQUE_SOCKETIO_MESSAGE_QUEUE_URI')
|
||||
)
|
||||
|
||||
from .utils import HashidConverter
|
||||
from .utils import HashidConverter, permission_context_processor
|
||||
app.url_map.converters['hashid'] = HashidConverter
|
||||
app.context_processor(permission_context_processor)
|
||||
|
||||
from .events import socketio as socketio_events
|
||||
from .events import sqlalchemy as sqlalchemy_events
|
||||
|
Reference in New Issue
Block a user