-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add features for the read only user.
Summary: Read only users need to have the UI modified so that they cannot see the task triggering options in the UI. Using the OSS model, we can blacklist a few components. Test Plan: Ran sbt run and verified that the read only user has a few options greyed out. We need to probably flesh out more of the UI blacklists before landing this. Example of Overview with cloud feature config {F13204} View of Backups w/o Create/Restore btn's {F13205} Reviewers: ram, andrew Reviewed By: andrew Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D7842
- Loading branch information
Showing
17 changed files
with
157 additions
and
24 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
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,31 @@ | ||
{ | ||
"universe": { | ||
"import": "disabled", | ||
"create": "disabled", | ||
"backup": "hidden" | ||
}, | ||
"config": { | ||
"infra": "disabled", | ||
"backup": "disabled" | ||
}, | ||
"main": { | ||
"dropdown": "hidden" | ||
}, | ||
"menu": { | ||
"config": "disabled", | ||
"sidebar": "hidden" | ||
}, | ||
"universes": { | ||
"details": { | ||
"overview": { | ||
"upgradeSoftware": "hidden", | ||
"editGFlags": "hidden", | ||
"readReplica": "hidden", | ||
"editUniverse": "hidden", | ||
"manageEncryption": "hidden", | ||
"deleteUniverse": "hidden" | ||
} | ||
}, | ||
"tableActions": "disabled" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"universe": { | ||
"import": "disabled", | ||
"create": "disabled" | ||
}, | ||
"config": { | ||
"infra": "disabled", | ||
"backup": "disabled" | ||
}, | ||
"menu": { | ||
"config": "disabled" | ||
}, | ||
"universes": { | ||
"details": { | ||
"overview": { | ||
"upgradeSoftware": "hidden", | ||
"editGFlags": "hidden", | ||
"editUniverse": "hidden", | ||
"readReplica": "hidden", | ||
"manageEncryption": "hidden", | ||
"deleteUniverse": "hidden" | ||
} | ||
}, | ||
"tableActions": "disabled" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
} | ||
|
||
& > *:first-child { | ||
flex: 0 0 90px; | ||
flex: 1 0 90px; | ||
} | ||
|
||
& > *:not(:first-child):not(:last-child) { | ||
|
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