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:
leigh-mil
2019-08-07 16:25:10 -04:00
parent 01ba73ef42
commit 811a498bf4
5 changed files with 25 additions and 8 deletions

View File

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