File tree Expand file tree Collapse file tree 4 files changed +15
-1
lines changed
front/lib/front_web/templates/people Expand file tree Collapse file tree 4 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 44
44
<% end %>
45
45
46
46
<%= if FeatureProvider . feature_enabled? ( :service_accounts , param: @ org_id ) and @ permissions [ "organization.service_accounts.view" ] do %>
47
- < div id = "service-accounts " data-config = "<%= Poison.encode!(service_accounts_config(@conn)) %> " > </ div >
47
+ < div id = "service-accounts " data-config = "<%= Poison.encode!(service_accounts_config(@conn)) %> " > </ div >
48
48
<% end %>
49
49
</ div >
Original file line number Diff line number Diff line change @@ -158,6 +158,16 @@ defmodule Rbac.Permissions do
158
158
name: "organization.instance_git_integration.manage" ,
159
159
description: "Manage the instance Git integration settings."
160
160
} ,
161
+ % {
162
+ id: "c530356b-c90e-473f-97b5-ea4538f95365" ,
163
+ name: "organization.service_accounts.view" ,
164
+ description: "View service accounts within the organization."
165
+ } ,
166
+ % {
167
+ id: "c530356b-c90e-473f-97b5-ea4538f95366" ,
168
+ name: "organization.service_accounts.manage" ,
169
+ description: "Manage service accounts within the organization."
170
+ } ,
161
171
% {
162
172
id: "bcaf879d-987f-42d7-9c89-f10911db6041" ,
163
173
name: "project.view" ,
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ defmodule Rbac.Roles.Admin do
27
27
"organization.secrets.view" ,
28
28
"organization.self_hosted_agents.manage" ,
29
29
"organization.self_hosted_agents.view" ,
30
+ "organization.service_accounts.view" ,
31
+ "organization.service_accounts.manage" ,
30
32
"organization.view" ,
31
33
"project.access.manage" ,
32
34
"project.access.view" ,
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ defmodule Rbac.Roles.Owner do
27
27
"organization.secrets.view" ,
28
28
"organization.self_hosted_agents.manage" ,
29
29
"organization.self_hosted_agents.view" ,
30
+ "organization.service_accounts.view" ,
31
+ "organization.service_accounts.manage" ,
30
32
"organization.view" ,
31
33
"project.access.manage" ,
32
34
"project.access.view" ,
You can’t perform that action at this time.
0 commit comments