Skip to content

Commit

Permalink
Fix update permissions on extension_roles
Browse files Browse the repository at this point in the history
As an association table, there should be no update permissions on this table. However, because `role` is a text field that doesn't have access to the table it should have a foreign key with (the `user_roles` table), `update` permission is being granted to resolve typos
  • Loading branch information
Mythicaeda committed Oct 16, 2023
1 parent a0f3a29 commit 5864853
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ insert_permissions:
update_permissions:
- role: aerie_admin
permission:
columns: [extension_id, role]
columns: [role]
filter: {}
delete_permissions:
- role: aerie_admin
Expand Down

0 comments on commit 5864853

Please sign in to comment.