Skip to content

Commit

Permalink
Add support for organization entity type in farm_role module.
Browse files Browse the repository at this point in the history
  • Loading branch information
mstenta committed Jul 29, 2024
1 parent 27fb452 commit cb8458d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/core/role/src/ManagedRolePermissionsManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ protected function getManagedPermissionsForRole(RoleInterface $role) {
'asset',
'data_stream',
'log',
'organization',
'plan',
'taxonomy_term',
'quantity',
Expand Down Expand Up @@ -231,6 +232,7 @@ protected function getManagedPermissionsForRole(RoleInterface $role) {
// Revision adds "operation all bundle revisions".
case 'asset':
case 'log':
case 'organization':
case 'plan':
case 'quantity':

Expand Down Expand Up @@ -343,6 +345,7 @@ protected function getManagedPermissionsForRole(RoleInterface $role) {

case 'asset':
case 'log':
case 'organization':
case 'plan':
case 'quantity':
case 'data_stream':
Expand Down

0 comments on commit cb8458d

Please sign in to comment.