# |
Jun 28th 2017, 05:15 |
admad |
We have members on the corw team not familiar with LOTR, blasphemous i say. |
# |
Jun 28th 2017, 05:15 |
aproapedelune |
I have like this project to finish untill tomorrow evening and I don t think I ll be able to do it. But I ll ssucceed or die trying =)) |
# |
Jun 28th 2017, 05:14 |
tariquesani |
:zzz: |
# |
Jun 28th 2017, 05:14 |
tariquesani |
sleep! |
# |
Jun 28th 2017, 05:14 |
aproapedelune |
I was about to say that |
# |
Jun 28th 2017, 05:14 |
aproapedelune |
yeah |
# |
Jun 28th 2017, 05:13 |
aproapedelune |
lol |
# |
Jun 28th 2017, 05:13 |
aproapedelune |
I even misspelled "misspelled" |
# |
Jun 28th 2017, 05:13 |
tariquesani |
You even misspelled misspelled :) |
# |
Jun 28th 2017, 05:13 |
aproapedelune |
I m so tired I even misspeled my own nickname, so yeah, I guess I have an excuse |
# |
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 |