mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-08 21:21:06 +00:00
Remove RoleView
This commit is contained in:
parent
dd4908cc45
commit
1398a9bb92
1 changed files with 0 additions and 17 deletions
|
@ -263,22 +263,6 @@ class UserView(SecureAdminModelView):
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class RoleView(SecureAdminModelView):
|
|
||||||
can_export = False
|
|
||||||
can_set_page_size = False
|
|
||||||
can_create = False
|
|
||||||
can_edit = False
|
|
||||||
can_delete = False
|
|
||||||
column_display_actions = False
|
|
||||||
|
|
||||||
column_list = [
|
|
||||||
"name",
|
|
||||||
"description",
|
|
||||||
"permissions",
|
|
||||||
"update_datetime",
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
class SemesterView(SecureAdminModelView):
|
class SemesterView(SecureAdminModelView):
|
||||||
class CreateForm(Form):
|
class CreateForm(Form):
|
||||||
def defaultFormLabel():
|
def defaultFormLabel():
|
||||||
|
@ -1597,7 +1581,6 @@ adminSpace.add_view(PartView(Part, db.session))
|
||||||
adminSpace.add_view(AssistantView(Assistant, db.session))
|
adminSpace.add_view(AssistantView(Assistant, db.session))
|
||||||
adminSpace.add_view(AdminView(Admin, db.session))
|
adminSpace.add_view(AdminView(Admin, db.session))
|
||||||
adminSpace.add_view(UserView(User, db.session))
|
adminSpace.add_view(UserView(User, db.session))
|
||||||
adminSpace.add_view(RoleView(Role, db.session))
|
|
||||||
adminSpace.add_view(ProgramView(Program, db.session))
|
adminSpace.add_view(ProgramView(Program, db.session))
|
||||||
adminSpace.add_view(ImportView(name="Import"))
|
adminSpace.add_view(ImportView(name="Import"))
|
||||||
adminSpace.add_view(ActionsView(name="Actions"))
|
adminSpace.add_view(ActionsView(name="Actions"))
|
||||||
|
|
Loading…
Reference in a new issue