Merge pull request #999 from dod-ccpo/ccpo-user-list

Page for CCPO users list
This commit is contained in:
leigh-mil
2019-08-06 13:18:57 -04:00
committed by GitHub
8 changed files with 76 additions and 1 deletions

View File

@@ -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")

View File

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