Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild resouce authorizations #14

Merged
merged 4 commits into from Aug 20, 2014
Merged

Conversation

valentin-claras
Copy link
Member

Add a way to rebuild the authorizations of one given resource.
This will help rebuild authorizations of moved resources inside a hierarchy.

The method can be find into the ACL service :
$acl->rebuildResourceAuthorizations($resource);

*
* @param EntityResource $resource
*/
public function rebuildResourceAuthorizations(EntityResource $resource)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rebuildAuthorizationsForResource ?

@mnapoli
Copy link
Member

mnapoli commented Aug 20, 2014

Cool !

valentin-claras added a commit that referenced this pull request Aug 20, 2014
@valentin-claras valentin-claras merged commit e72ccbb into master Aug 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants