# |
Jun 28th 2017, 05:12 |
tariquesani |
which was all the more confusing if you did not know about LOTR |
# |
Jun 28th 2017, 05:12 |
aproapedelune |
daaaamn |
# |
Jun 28th 2017, 05:12 |
tariquesani |
@aproapedelune The documentation for ACL had a complex Lords of The Rings reference to explain all that Access Controlled Objects and Access Request Object |
# |
Jun 28th 2017, 05:12 |
savant |
Was somewhat confusing to some users |
# |
Jun 28th 2017, 05:12 |
savant |
Also, old acl docs talked about Lord of the rings |
# |
Jun 28th 2017, 05:11 |
savant |
Sleep! |
# |
Jun 28th 2017, 05:11 |
aproapedelune |
I have 35+ hours without any sleep, my brain is in a little break |
# |
Jun 28th 2017, 05:10 |
aproapedelune |
sorry, I didn t get what Tarique said. |
# |
Jun 28th 2017, 05:08 |
savant |
What docs for what? |
# |
Jun 28th 2017, 05:08 |
savant |
The fellowship is over |
# |
Jun 28th 2017, 05:08 |
savant |
Frodo left the one ring at Mount Doom |
# |
Jun 28th 2017, 05:07 |
aproapedelune |
what docs? |
# |
Jun 28th 2017, 05:04 |
tariquesani |
No ACL plugin no Ring triology references in docs either? |
# |
Jun 28th 2017, 04:54 |
savant |
No problem |
# |
Jun 28th 2017, 04:54 |
aproapedelune |
I got it. :slightly_smiling_face: Thank you!! |
# |
Jun 28th 2017, 04:53 |
savant |
But should be easy to migrate :) |
# |
Jun 28th 2017, 04:53 |
savant |
When you get to cases where you can have multiple roles per user or more than like 5 roles, then you can have a table |
# |
Jun 28th 2017, 04:53 |
aproapedelune |
i ll try this |
# |
Jun 28th 2017, 04:52 |
aproapedelune |
damn, you re a genius :))) |
# |
Jun 28th 2017, 04:52 |
savant |
No need for an extra table |
# |
Jun 28th 2017, 04:52 |
savant |
Works quite nice |
# |
Jun 28th 2017, 04:52 |
savant |
And have constants in my app for the role name mapping to the actual role |
# |
Jun 28th 2017, 04:52 |
savant |
Have that as an integer |
# |
Jun 28th 2017, 04:52 |
savant |
In fact, I normally just have a role field in the users table |
# |
Jun 28th 2017, 04:51 |
savant |
I use just users and groups |
# |
Jun 28th 2017, 04:51 |
aproapedelune |
and regarding the databases, would it be better to have like a table for each category (admin, teacher, student, parent) , or just users and groups ( users having groups_id as fk) |
# |
Jun 28th 2017, 04:49 |
savant |
Controller authorization works great |
# |
Jun 28th 2017, 04:49 |
savant |
Did you need acl? Or can you get away with isAuthorized methods in your controller? |
# |
Jun 28th 2017, 04:46 |
aproapedelune |
I m trying to create an app , something like a virtual student informations system. But it s not a piece of cake for me :) |
# |
Jun 28th 2017, 04:44 |
savant |
I can probably try to get to docs for it this weekend |
# |
Jun 28th 2017, 04:44 |
savant |
Afaik it works fine |
# |
Jun 28th 2017, 04:44 |
savant |
We just don't have time to work on it |
# |
Jun 28th 2017, 04:44 |
savant |
It's not |
# |
Jun 28th 2017, 04:44 |
aproapedelune |
yep, I found the plugin. but I wanted to know if it s deprecated or something |
# |
Jun 28th 2017, 04:44 |
savant |
Here is the plugin |
# |
Jun 28th 2017, 04:43 |
savant |
https://github.com/cakephp/acl |
# |
Jun 28th 2017, 04:43 |
savant |
Or some other single sign on solution |
# |
Jun 28th 2017, 04:42 |
savant |
Or if they do, ldap Integration is better |
# |
Jun 28th 2017, 04:42 |
savant |
Usually apps don't require such permissioning |
# |
Jun 28th 2017, 04:42 |
savant |
None of the core team uses it |
# |
Jun 28th 2017, 04:42 |
savant |
We just haven't documented it |