Add in route for CCPO users page and permissions to view page

This commit is contained in:
leigh-mil
2019-08-05 15:06:17 -04:00
parent 7afc24deb1
commit 41820813ed
6 changed files with 42 additions and 1 deletions

View File

@@ -132,6 +132,12 @@ def activity_history():
return render_template("audit_log/audit_log.html", audit_events=audit_events)
@bp.route("/ccpo-users")
@user_can(Permissions.VIEW_CCPO_USER, message="view ccpo users")
def ccpo_users():
return render_template("ccpo/users.html")
@bp.route("/about")
def about():
return render_template("about.html")

View File

@@ -31,6 +31,7 @@ _ALL_PERMS = [
PermissionSets.EDIT_PORTFOLIO_ADMIN,
PermissionSets.PORTFOLIO_POC,
PermissionSets.VIEW_AUDIT_LOG,
PermissionSets.EDIT_CCPO_USERS,
]