Closed brianbolt closed 6 months ago
server.projects.additionalProjectGrants
Example:
server.projects.additionalProjectGrants = {"PROJ-00000001": ["PROJ-00000002", "PROJ-00000003"]}
This would grant access to PROJ-00000002 and PROJ-00000003 to users with access to PROJ-00000001
ACAS-770
Test1) Basic test
server.projects.additionalProjectGrants = {"PROJ-00000001": ["PROJ-00000002"]}
Result: I could access both "PROJ-00000001" and "PROJ-00000002"
Test2) Same as test 1 but also verify this works when using the projects.filterList configuration
server.projects.filterList = ["PROJ-00000001"]
Result: I could no longer access "PROJ-00000001" but could still access "PROJ-00000002"
Description
server.projects.additionalProjectGrants
which confers access to an additional list of projects if the user has access to the project in the key of the configuration.Example:
This would grant access to PROJ-00000002 and PROJ-00000003 to users with access to PROJ-00000001
Related Issue
ACAS-770
How Has This Been Tested?
Test1) Basic test
server.projects.additionalProjectGrants = {"PROJ-00000001": ["PROJ-00000002"]}
Result: I could access both "PROJ-00000001" and "PROJ-00000002"
Test2) Same as test 1 but also verify this works when using the projects.filterList configuration
server.projects.filterList = ["PROJ-00000001"]
Result: I could no longer access "PROJ-00000001" but could still access "PROJ-00000002"