Skip to content

Commit

Permalink
Fixes #36663 - Add permission to modify LookupValue resource
Browse files Browse the repository at this point in the history
This is necessary when using gql to allow non-admin users
to modify lookup-key values.
  • Loading branch information
nofaralfasi committed Aug 27, 2023
1 parent 17ae808 commit 0a249b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions db/seeds.d/020-permissions_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ def permissions
['Location', 'edit_locations'],
['Location', 'destroy_locations'],
['Location', 'assign_locations'],
['LookupValue', 'view_lookup_values'],
['LookupValue', 'create_lookup_values'],
['LookupValue', 'edit_lookup_values'],
['LookupValue', 'destroy_lookup_values'],
['MailNotification', 'view_mail_notifications'],
['MailNotification', 'edit_user_mail_notifications'],
['Medium', 'view_media'],
Expand Down

0 comments on commit 0a249b8

Please sign in to comment.