Skip to content

Commit

Permalink
add required edit permission to freddie
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewandante committed Jun 15, 2023
1 parent e1d1fc6 commit c5e1774
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Security/InheritedPermissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ protected function getViewerGroupsTable()
}

/**
* Get table to use for editor groups relation
* Get table to use for editor members relation
*
* @return string
*/
Expand All @@ -775,7 +775,7 @@ protected function getEditorMembersTable()
}

/**
* Get table to use for viewer groups relation
* Get table to use for viewer members relation
*
* @return string
*/
Expand Down
1 change: 1 addition & 0 deletions tests/php/Security/InheritedPermissionsTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ SilverStripe\Security\Member:
oneFileFreddie:
FirstName: Freddie
Surname: Fantastic
Groups: =>SilverStripe\Security\Group.editors

SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode:
about:
Expand Down

0 comments on commit c5e1774

Please sign in to comment.