This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
Improved handling of users and role collections #119
Locked
rui1610
announced in
Announcements
Replies: 1 comment 3 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With the recent pull request 109 we have introduced an improved handling of users and role collections.
Now there is a clear separation from the actual use case specific information (services and role collections defined in the usecase.json file) to the actual users (usergroups defined in the parameters.json file).
Changes for the parameters.json file
Within the parameters.json file you can add now a new attribute called
myusergroups
. Each entry in that attribute hasname
(to be used as a reference in the usecase.json file)members
with their email addressesHere's an example (checkout the default parameters.json file:
Changes for the usecase.json files
Assigning users to a role collection of a service
Within the usecase.json file you can now assign a required role collection of an app subscription to a usergroup you've defined in the parameter.json file (as described above). With that the parameters.json file stays clean and stable. If one of the usergroups listed under
assignedUserGroupsFromParameterFile
is not found in the parameters.json file, it will simply assign the user, that is running the script to the corresponding role collection.Here's an example (checkout the default usecase.json file:
Assigning users to a role collection
Within the usecase.json file you can now as well assign users to existing role collections or even define role collections, that the btp-setup-automator will create for you in the BTP in the newly introduced attribute
assignrolecollections
.Here's an example (checkout the default usecase.json file:
In that example the usergroup
admins
(defined in a parameters.json file is assigned to the role collectionGlobal Account Administrator
. The attributetype
andlevel
define where this role collection exists.Beta Was this translation helpful? Give feedback.
All reactions