Skip to content

Granting proper access after creating a new entity: Policies Permissions Roles

Diego Liberman edited this page Jul 4, 2022 · 5 revisions

After creating a new entity and its corresponding permissions, we need to update:

1. Roles that need to have access to the new entity

For this there's no automated action. A user with the proper access needs to grant the new permissions in the roles that they see fit.

2. Superadmin (institution creator) implicit computed policies

This is accomplished by running the following commands in the corresponding server: User.all.each { |user| user.update_computed_policies }