mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
[SM-352] Projects tab for service accounts (#4858)
* Init service layer changes * refactor service to inherit abstract * refactor access-selector component * update access selector in projects * add service accounts access selector * update i18n * fix delete action; use useExisting in providers * update static permissions * service account people should be readwrite on creation * use setter instead of observable input * remove warning callout * remove abstract service * truncate name in table * remove extra comments * Add projects access policy page * Add locale * use map instead of forEach * refactor view factories * update SA people copy * map list responses * Swap to using granted policies endpoints * Remove text-xl from icon --------- Co-authored-by: Thomas Avery <tavery@bitwarden.com> Co-authored-by: William Martin <contact@willmartian.com> Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
This commit is contained in:
@@ -36,7 +36,7 @@ export class ProjectPeopleComponent implements OnInit, OnDestroy {
|
||||
rows.push({
|
||||
type: "user",
|
||||
name: policy.organizationUserName,
|
||||
granteeId: policy.organizationUserId,
|
||||
id: policy.organizationUserId,
|
||||
accessPolicyId: policy.id,
|
||||
read: policy.read,
|
||||
write: policy.write,
|
||||
@@ -48,7 +48,7 @@ export class ProjectPeopleComponent implements OnInit, OnDestroy {
|
||||
rows.push({
|
||||
type: "group",
|
||||
name: policy.groupName,
|
||||
granteeId: policy.groupId,
|
||||
id: policy.groupId,
|
||||
accessPolicyId: policy.id,
|
||||
read: policy.read,
|
||||
write: policy.write,
|
||||
|
||||
Reference in New Issue
Block a user