-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
246 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,104 +1,42 @@ | ||
default_roles = { | ||
"Organization member": { | ||
"Squest user": { | ||
"description": "Can view organization", | ||
"permissions": [ | ||
"profiles.consume_quota_scope" | ||
"service_catalog.request_on_instance", | ||
"service_catalog.request_on_service", | ||
|
||
"profiles.view_organization" | ||
] | ||
}, | ||
"Team member": { | ||
"description": "Can view team", | ||
"permissions": [ | ||
"profiles.view_team", | ||
] | ||
}, | ||
"Organization manager": { | ||
"description": "Can view and manage Organization's users.", | ||
"permissions": [ | ||
"profiles.view_organization", | ||
"profiles.view_users_organization", | ||
"profiles.add_users_organization", | ||
"profiles.delete_users_organization", | ||
|
||
"profiles.view_team", | ||
"profiles.add_team", | ||
"profiles.view_team", | ||
"profiles.change_team", | ||
"profiles.delete_team", | ||
|
||
"profiles.view_users_team", | ||
"profiles.add_users_team", | ||
"profiles.delete_users_team", | ||
] | ||
}, | ||
"Team manager": { | ||
"description": "Can view and manage Team's users.", | ||
"permissions": [ | ||
"profiles.view_team", | ||
"profiles.view_users_team", | ||
"profiles.add_users_team", | ||
"profiles.delete_users_team", | ||
] | ||
}, | ||
"Instance viewer": { | ||
"description": "Can view Instance and all related objects.", | ||
"permissions": [ | ||
"service_catalog.view_instance", | ||
"service_catalog.view_request", | ||
"service_catalog.view_requestmessage", | ||
"service_catalog.view_supportmessage", | ||
"service_catalog.view_support", | ||
|
||
] | ||
}, | ||
"Catalog user": { | ||
"description": "Can request services in catalog", | ||
"permissions": [ | ||
"profiles.consume_quota_scope" | ||
] | ||
}, | ||
"Instance Operator": { | ||
"description": "Can request services and day 2 operations", | ||
"permissions": [ | ||
"profiles.consume_quota_scope" | ||
|
||
"service_catalog.view_instance", | ||
"service_catalog.view_request", | ||
"service_catalog.view_requestmessage", | ||
"service_catalog.view_supportmessage", | ||
"service_catalog.view_support", | ||
|
||
"service_catalog.request_on_instance", | ||
"service_catalog.request_on_service", | ||
"service_catalog.view_request", | ||
"service_catalog.cancel_request", | ||
|
||
"service_catalog.add_message", | ||
"service_catalog.view_message", | ||
"service_catalog.change_message", | ||
"service_catalog.delete_message", | ||
|
||
"service_catalog.add_message", | ||
"service_catalog.view_message", | ||
"service_catalog.change_message", | ||
"service_catalog.delete_message", | ||
"service_catalog.view_requestmessage", | ||
"service_catalog.add_requestmessage", | ||
"service_catalog.change_requestmessage", | ||
|
||
"service_catalog.view_support", | ||
"service_catalog.add_support", | ||
"service_catalog.view_support", | ||
"service_catalog.change_support", | ||
|
||
] | ||
}, | ||
"Workflow approver": { | ||
"description": "Can approve a step (for Approval Workflow only)", | ||
"permissions": [ | ||
"service_catalog.approve_request_approvalstep", | ||
"service_catalog.view_admin_fill_in_survey" | ||
"service_catalog.view_supportmessage", | ||
"service_catalog.add_supportmessage", | ||
"service_catalog.change_supportmessage", | ||
|
||
"profiles.view_quota", | ||
] | ||
}, | ||
"Request approver": { | ||
"description": "Can approve a request", | ||
"permissions": [ | ||
"service_catalog.accept_request", | ||
"service_catalog.view_admin_fill_in_survey" | ||
] | ||
}, | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated by Django 3.2.13 on 2023-09-05 14:48 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('profiles', '0018_auto_20230803_1126'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='quota', | ||
options={'default_permissions': ('add', 'delete', 'view', 'list'), 'permissions': [('change_team_quota', 'Can change quota at team level'), ('change_organization_quota', 'Can change quota at organization level')]}, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.