Refactor 'no access to unauthed' test to cover all of PyRIGS

This commit is contained in:
2021-01-31 01:07:52 +00:00
parent 4434a2bc80
commit a2b253a808
6 changed files with 52 additions and 24 deletions

View File

@@ -20,7 +20,7 @@ for app in [apps.get_app_config(label) for label in ("RIGS", "assets")]:
table_name = 'activity_table'
else:
table_name = appname + '_activity_table'
# TODO Proper Permissions
urlpatterns += [
path(appname + '/activity/', permission_required_with_403('RIGS.add_event')(views.ActivityTable.as_view()),