Skip to content

Commit

Permalink
Add site in a new page (#1845)
Browse files Browse the repository at this point in the history
  • Loading branch information
prakashsvmx committed Apr 14, 2022
1 parent f2c187b commit ae34d88
Show file tree
Hide file tree
Showing 6 changed files with 672 additions and 436 deletions.
5 changes: 5 additions & 0 deletions portal-ui/src/common/SecureComponent/permissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ export const IAM_PAGES = {
TIERS_ADD_SERVICE: "/settings/tiers/add/:service",
SITE_REPLICATION: "/settings/site-replication",
SITE_REPLICATION_STATUS: "/settings/site-replication/status",
SITE_REPLICATION_ADD: "/settings/site-replication/add",

/* Operator */
TENANTS: "/tenants",
Expand Down Expand Up @@ -389,6 +390,10 @@ export const IAM_PAGES_PERMISSIONS = {
IAM_SCOPES.ADMIN_SERVER_INFO,
IAM_SCOPES.ADMIN_CONFIG_UPDATE,
],
[IAM_PAGES.SITE_REPLICATION_ADD]: [
IAM_SCOPES.ADMIN_SERVER_INFO,
IAM_SCOPES.ADMIN_CONFIG_UPDATE,
],
};

export const S3_ALL_RESOURCES = "arn:aws:s3:::*";
Expand Down

0 comments on commit ae34d88

Please sign in to comment.