wazo-auth: Automatically add policies to all users of future tenants

Description

As an administrator
I want to add a policy to all users, future users and users of future tenants automatically
In order to reduce the overhead of creating a new tenant

Technical proposition:

  • add an option in config file:

  •  

  • at startup, wazo-auth checks whether those policies exist in every tenant

Tasks:

  • wazo-auth startup

    • Create policies if they don’t exist

    • Associate policies to wazo-all-users group

    • Update policies if the ACL are different

    • See what happens if database is not available at startup

  • Tenant creation

    • Create policies

    • Associate policies to wazo-all-users group

Zendesk Ticket IDs

None

Activity

Done

Details

Priority

Assignee

Reporter

Approvers

François Blackburn

Fix versions

Sprint

Zendesk Support

Created September 3, 2020 at 12:17 AM
Updated September 23, 2020 at 3:37 PM
Resolved September 14, 2020 at 1:47 PM