Skip to content

Commit

Permalink
Feature toggle for Jira API key
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Feb 7, 2024
1 parent fa1b2fa commit 08f7189
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 2 additions & 0 deletions roles/dashboard-server/templates/application.properties.j2
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jiraPassword={{ dashboard_jira_password }}
jiraProjectKey={{ dashboard.jira_project_key }}
jiraDueDateWeeks=1
jiraEnvironment={{ dashboard.jira_environment }}
jiraApikey={{ dashboard_jira_apikey }}
jiraUseApiKey={{ dashboard.jira_use_api_key }}

manage.username={{ dashboard.manage_username }}
manage.password={{ manage_dashboard_secret }}
Expand Down
15 changes: 9 additions & 6 deletions roles/manage-server/templates/manage-api-users.yml.j2
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Valid scopes are manage.api.Scope.values(); =>
# CHANGE_REQUEST, //Allowed to create change requests
# PUSH, //Allowed to push changes to EB & OIDC-NG
# READ, //Allowed to read entities
# SYSTEM, //Allowed everything including Attribute Manipulation and updating / deleting Identity Providers
# WRITE, //Allowed to create (excluding Identity Providers) and update all entities
# DELETE //Allowed to delete entities (excluding Identity Providers)
# CHANGE_REQUEST, //Allowed to create change requests
# PUSH, //Allowed to push changes to EB & OIDC-NG
# READ, //Allowed to read entities
# SYSTEM, //Allowed everything including Attribute Manipulation and updating / deleting Identity Providers
# TEST, //Only used internally
# WRITE, //Allowed to create (excluding Identity Providers) and update all entities
# POLICIES, //Allowed to CRUD PdP Policies
# DELETE, //Allowed to delete entities (excluding Identity Providers)
# ADMIN //Standard scope for all GUI related endpoint (e.g. /manage/api/client/** endpoints)

apiUsers:
{% for user in manage.apiUsers %}
Expand Down

0 comments on commit 08f7189

Please sign in to comment.