Created
November 7, 2022 07:43
-
-
Save SlavaKatiukha/4d902e5842f785345d1028f845ba7ac7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| type: install | |
| name: Invite Dev Agency | |
| settings: | |
| fields: | |
| - type: string | |
| name: collaboratorEmail | |
| vtype: email | |
| caption: Collaborate With | |
| default: email@example.com | |
| onInstall: | |
| - users.collaboration.AddRole: | |
| name: AllPermissions | |
| description: For the dev agency | |
| receiveNotification: true | |
| policies: [ | |
| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, | |
| 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, | |
| 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, | |
| 31, 32, 33 | |
| ] | |
| - set: | |
| roleId: ${response.role.id} | |
| - users.collaboration.InviteMember: | |
| email: ${settings.collaboratorEmail} | |
| displayName: Dev Agency | |
| - users.collaboration.SetResources: | |
| collaborationId: ${response.member.id} | |
| resources: '[{"roleIds":[${this.roleId}],"resourceType":"ENV","resourceId":"*"}]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment