Merge pull request #999 from dod-ccpo/ccpo-user-list
Page for CCPO users list
This commit is contained in:
@@ -132,6 +132,13 @@ 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():
|
||||
users = Users.get_ccpo_users()
|
||||
return render_template("ccpo/users.html", users=users)
|
||||
|
||||
|
||||
@bp.route("/about")
|
||||
def about():
|
||||
return render_template("about.html")
|
||||
|
||||
@@ -31,6 +31,7 @@ _ALL_PERMS = [
|
||||
PermissionSets.EDIT_PORTFOLIO_ADMIN,
|
||||
PermissionSets.PORTFOLIO_POC,
|
||||
PermissionSets.VIEW_AUDIT_LOG,
|
||||
PermissionSets.MANAGE_CCPO_USERS,
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user