Project Authorization Class.
#allowed ⇒ Object
readonly Returns the value of attribute allowed. #denied ⇒ Object
readonly Returns the value of attribute denied. #project_modules ⇒ Object
readonly Returns the value of attribute project_modules. #roles ⇒ Object
readonly Returns the value of attribute roles. #allow(path) ⇒ Object
Allow a specified path. #initialize(*roles) {|_self| ... } ⇒ Authorization
constructor A new instance of Authorization. #project_module(name, path, options = {}) ⇒ Object
Create a project module. #protect(path) ⇒ Object
Protect access from. Returns a new instance of Authorization
Returns the value of attribute allowed
Returns the value of attribute denied
Returns the value of attribute project_modules
Returns the value of attribute roles
Allow a specified path.
Create a project module.
Protect access from.
© 2010–2019 Padrino
Licensed under the MIT License.
https://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Admin/AccessControl/Authorization