Maslosoft Framework Logo Maslosoft Framework Documentation
Flexible Application Foundation


Allow Save Model Access Rule

Allow saving model if certain permission evaluates to be allowed.

Usage:

@AclRule(AllowSave, 'module.controller.role')

To allow saving with multiple roles use array, or curly braces syntax:

@AclRule(AllowSave, {'module.controller.role', 'module.controller.anotherRole'})