-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter out space and organization names based on permissions
When a user has access to a shared service instance (i.e. read permissions on any of the shared spaces), the guids of all shared spaces are visible, but only those space and organization names the user is allowed to read based on the given roles. Example: DEVELOPER who is space developer in SPACE_1, SPACE_2 and SPACE_3 shared SERVICE_INSTANCE from SPACE_1 to SPACE_2 and SPACE_3. For each space there is a dedicated space auditor (AUDITOR_1, AUDITOR_2 and AUDITOR_3). SPACE_1 ------- DEVELOPER (space developer) AUDITOR_1 (space auditor) SERVICE_INSTANCE SPACE_2 ------- DEVELOPER (space developer) AUDITOR_2 (space auditor) shared SERVICE_INSTANCE SPACE_3 ------- DEVELOPER (space developer) AUDITOR_3 (space auditor) shared SERVICE_INSTANCE Original behavior (before PR #3931): - AUDITOR_1 can see SPACE_2.guid + name and SPACE_3.guid + name => SPACE_2.name and SPACE_3.name should not be readable - AUDITOR_2 cannot see shared spaces => shared spaces should be readable - AUDITOR_3 cannot see shared spaces => shared spaces should be readable Changed behavior (with PR #3931): - AUDITOR_1 can see SPACE_2.guid + name and SPACE_3.guid + name => SPACE_2.name and SPACE_3.name should not be readable - AUDITOR_2 can see SPACE_2.guid + name and SPACE_3.guid + name => SPACE_3.name should not be readable - AUDITOR_3 can see SPACE_2.guid + name and SPACE_3.guid + name => SPACE_2.name should not be readable New behavior (this change): - AUDITOR_1 can see SPACE_2.guid and SPACE_3.guid - AUDITOR_2 can see SPACE_2.guid + name and SPACE_3.guid - AUDITOR_3 can see SPACE_2.guid and SPACE_3.guid + name
- Loading branch information
1 parent
ef859cb
commit ddc3801
Showing
5 changed files
with
56 additions
and
2 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