Skip to content

Add sync method to easily sync permissions for a resource #31

Description

@driesvints
$manager->caller($caller)->sync(array $actions, $resource = null, $resourceId = null);

This will remove all allowed permissions which aren't in the $actions list and add allowed permissions which are in the $actions list. Could be useful when you need to change all of the actions at once,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions