Hello,
I have started to work on one project and in which i have to use ACL to provide permission to node to different users.
Now i have started basic module in which currently manually i have created some ACL and then added some user based on acl_id and added some node with permission to acl_node table.
Here is how it looks
ACL Table
acl_id module name number
5 os_acl Test 1 NULL
6 os_acl Test 2 NULL
ACL Node Table
acl_id nid grant_view grant_update grant_delete priority
5 3 1 1 1 0
5 4 1 0 0 0
5 5 1 1 0 0
ACL User Table
acl_id uid
5 5
5 8
Now based on above scenario User with uid = 5 & 8 should have access to node 3 with all permission, node 4 with view permission only and node 5 with view and update permission only.
Now my problem is that it is displaying all nodes when i logged in as user 5 or user 8 instead of particular permission. I do not find any proper documentation / tutorial for this module so created basic module, which i have attached. What i want to know is that how to hide those nodes on which i do not have provided permission. Attached image will give you proper explanation.
Thank you
Tejas Mehta
Comment | File | Size | Author |
---|---|---|---|
os_acl.zip | 1.67 KB | tejaspmehta | |
explanation.jpg | 89.37 KB | tejaspmehta |
Comments
Comment #1
salvisPlease follow the directions that were displayed when you posted this issue.
Comment #2
salvisNo follow-up.