Finish route for confirming CCPO user, add function to update user's ccpo perms, and add success flash message to template
This commit is contained in:
@@ -122,7 +122,4 @@ def portfolio():
|
||||
|
||||
|
||||
def atat():
|
||||
return {
|
||||
"permissions": Permissions,
|
||||
"user_can": user_can_view,
|
||||
}
|
||||
return {"permissions": Permissions, "user_can": user_can_view}
|
||||
|
@@ -30,6 +30,11 @@ MESSAGES = {
|
||||
"message_template": "You have successfully deleted {{ user_name }} from {{ application_name }}",
|
||||
"category": "success",
|
||||
},
|
||||
"ccpo_user_added": {
|
||||
"title_template": translate("flash.success"),
|
||||
"message_template": "You have successfully given {{ user_name }} CCPO permissions.",
|
||||
"category": "success",
|
||||
},
|
||||
"environment_added": {
|
||||
"title_template": translate("flash.success"),
|
||||
"message_template": """
|
||||
|
Reference in New Issue
Block a user