MemberDirectory .provision
POST /{namespace}/member-directories/provision
Provision starts a Customer’s Member Directory pushing people and groups into its Tenant, with groups mapped to Roles.
- Noun
- Member Directory
- Mode
do- Event
MemberDirectory.provisioned
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
tenant | Tenant | required | The Tenant it fills. |
groupRoles | json | Which group fills which Role. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
directory | Member Directory | required | The Member Directory, now active. |
Effects
- Emits
MemberDirectory.provisioned. - Performed by the Security Engineer.
- Two-way: it runs at once, in the
try,sendanddomodes. - Fills Roles for every person in a mapped group.
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | MemberDirectory.provision |
When it waits
| Gate | Default |
|---|---|
| Decision class | Low: two-way, nothing at stake |
| Delay window | None: it runs once review passes. |
| Limit | The call Limit of the Permission it runs under. |
| Over the Limit | It waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled. |