mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 21:58:25 -04:00
3110 dashboard design feedback & permission changes (#3142)
* update org dashboard * allowing org admins to access serviecs within an org * fix test
This commit is contained in:
@@ -11,7 +11,7 @@ from app.utils.user import user_has_permissions
|
||||
|
||||
|
||||
@main.route("/services/<uuid:service_id>/history")
|
||||
@user_has_permissions(ServicePermission.MANAGE_SERVICE)
|
||||
@user_has_permissions(ServicePermission.MANAGE_SERVICE, allow_org_user=True)
|
||||
def history(service_id):
|
||||
events = _get_events(current_service.id, request.args.get("selected"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user