OpenSlides/openslides/users/main_menu.py
Oskar Hahn 1969416e64 Implemented auth via AngularJS
Also added the derective osPerms to check if the current user has permissions.
Removed old Django views and urls for user.
Created utils.views.APIView which should be used instead of the AjaxView.

Fixes: #1470
Fixes: #1454
2015-02-16 11:42:48 +01:00

15 lines
401 B
Python

from django.utils.translation import ugettext_lazy
from openslides.utils.main_menu import MainMenuEntry
class UserMainMenuEntry(MainMenuEntry):
"""
Main menu entry for the participant app.
"""
verbose_name = ugettext_lazy('Users')
required_permission = 'users.can_see_extra_data'
default_weight = 50
pattern_name = 'core_dashboard'
icon_css_class = 'glyphicon-user'