Open itdap opened 10 years ago
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. thanks
Yii::app()->user->can() is available everywhere, since its in the YumWebUser component.
2014-02-09 2:47 GMT+01:00 Diego notifications@github.com:
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. thanks
— Reply to this email directly or view it on GitHubhttps://github.com/thyseus/yii-user-management/issues/182#issuecomment-34562788 .
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.