upswyng
upswyng copied to clipboard
Add database collection for mapping superAdmins/owners to a provider
Super admins need to be able to assign "owners" to a provider. This will initially require database changes.
Terminology: Super Admins: An existing permissions level on an account that gives them the ability to do basically anything. Owners: A new permissions level on an account that will give them the ability to manage a resource that they own. There can be multiple owners per resource.
Checklist
- [ ] Create a Mongo collection to handle the association between an accounts permission level (superAdmin/owner), and resource. Owners must be associated with a resource and resources can have multiple owners.
- [ ] Modify types/schema