Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Auth
Why actions field in users_permissions and users_user_permissions
Syntaxlb
May 2014
Hi,
I try to use OrmAuth, but i have difficult to understand how work permissions :
I have create a perm with actions : index,create,delete
I have create a user, and add relation with the first perm. But i'have let the field "actions" in users_user_permission empty.
And i do a test, my user don't have access.
But if i put actions index,create,delete in the field "actions" in users_user_permission, my user have access.
My user can't get directly all actions from the first perm, even if the field "actions" in users_user_permission is empty ?
Syntaxlb
May 2014
Why do an intersect between actions in users_user_permissions and users_permissions, and not an union ?
Syntaxlb
May 2014
Hm, ok i didn't understand this :
http://fuelphp.com/docs/packages/auth/ormauth/intro.html#/actions
Now it's good, sry for this post
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Syntaxlb
May 2014