Forums
Hello everyone,
I have created custom role that has some certain permissions for courses and other roles. I have set the permissions as i need on my local development page, and it works as it should, but on the server with the same permission settings, it doesn't work perfectly. More specifically, that role needs to see every created course, but not to be able to create one, and i managed to do that on localhost, but on live page, either i can see all courses but also create new, or completely not to be able to see them.
Any sugestions what might be wrong?
I will note again, the permissions are set identically, module permissions also.
Hi theimitrovsky,
Hi theimitrovsky,
When you say, see every created course. What do you mean exactly? Have it listed under admin/content?
Is that it?
Best regards
Yes, administration >> opigno
Did you do the alteration
Did you do the alteration necessary at admin/structure/types/manage/course/access?
Best regards
Well i hadn't but now i did,
i should also note that i
So, the user can only see the
So, the user can only see the Public and Semi-Public courses, but not the Private courses, is that it?
Best regards
Hmmm,
Hi theimitrovsky,
Hi theimitrovsky,
That is probably why you said it was working on your server, you didnt have any course private.
You should look into the the opigno_og_access.module.
Take a look at:
https://api.drupal.org/api/drupal/modules%21node%21node.api.php/function/hook_node_grants/7
https://api.drupal.org/api/drupal/modules!node!node.api.php/function/hook_node_access_records/7
Best regards