-
Notifications
You must be signed in to change notification settings - Fork 122
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
Permission Question #182
Comments
I do not really understand your question. The role submodule is documented in the docs/permission_system.txt file. Of course this file should be extended since it is a stub. How far did your investigations went? |
Yes I read the file but I would like to know if in your other modules, like avatar, profile, etc you already have set the permissions using the user->can ? or I need to add it in the modules that I want. |
Yii::app()->user->can() is available everywhere, since its in the 2014-02-09 2:47 GMT+01:00 Diego [email protected]:
GIT/GP/GTW d- D++ s a- C++ UL++ P-- E--- R !tv e-- h* r-- y- |
I have installed the role module but I would like to know if there is any default permission on the code or I need to start adding the user->can by myself around all modules . I can see on the table permisions that the demo account have permissions to read and write messages but i think is not working.
Where is the best way to add the user-can? i saw some examples that they put it on the controller in the access control section as expression.
Thanks in advance.
The text was updated successfully, but these errors were encountered: