Example use case:
- Users from the role student, but could be assigned to group classA, paperB, yearC, etc. to access different content. Using role for this will be a nightmare
- Occasionally temporary user such as tutor, or visiting lecturer
Initially thinking of implement on top of Flexi Access, but after started coding, noticed a lot of code duplication with Simple Access (SA) in term of grouping. In addition, SA' profile will provide a nice setup to support user group and existing role group.
The submodule could take a new local task to handle user groups.
Just wondering does SA provides any api/hook for user access control or profile? I notice there is for simple_access_author but I guess that would not cut it. Probably can build on top of ACL and SA.
What do you think?
Comment | File | Size | Author |
---|---|---|---|
#1 | simples_access-1397074-1.patch | 503 bytes | ckng |
Comments
Comment #1
ckngHere is the submodule for adding simple access group with user.
Sandbox: Simple Access User
Attached patch needed for simple_access:
- Added 2 hooks to simple_access
Comment #2
JohnnyX CreditAttribution: JohnnyX commentedWould it be possible to let users define own groups (of users) and give the own groups view access (like share feature at Facebook or Google+)?
Comment #3
gordon CreditAttribution: gordon commentedCan I get a little more feedback on this. With the changes in D8, this hook will be lost, but you will be able to do this via entities.