Hi All,
A small query....
Is there a way to restrict certain user roles from viewing certain urls within my drupal site. I need my clients to see reports but not see seller reports. i have disabled it from the nav menu but they can just type it into the address bar and see the reorts.
Any chance of a module to help me out.
Kind regards, Ayath
Hi,
Are you using a custom module or a contributed module? Permissions are mostly handled by modules and if you are using a contributed module then there is a good chance that its already handled for you. Try navigating to admin/user/permissions and see if your module exposes relevant permissions? If yes then you can assign different roles diff permission. Again which module are you using?
Cheers
On Wed, Dec 29, 2010 at 5:06 AM, Ayath ULLAH ayath@hotmail.co.uk wrote:
Hi All,
A small query....
Is there a way to restrict certain user roles from viewing certain urls within my drupal site. I need my clients to see reports but not see seller reports. i have disabled it from the nav menu but they can just type it into the address bar and see the reorts.
Any chance of a module to help me out.
Kind regards, Ayath
-- [ Drupal support list | http://lists.drupal.org/ ]
I am going to attempt to do something similar with Rules. That might work in this case too. On Dec 28, 2010 4:47 PM, "Dipen" dipench@gmail.com wrote:
Hi,
Are you using a custom module or a contributed module? Permissions are mostly handled by modules and if you are using a contributed module then there is a good chance that its already handled for you. Try navigating to admin/user/permissions and see if your module exposes relevant permissions? If yes then you can assign different roles diff permission. Again which module are you using?
Cheers
On Wed, Dec 29, 2010 at 5:06 AM, Ayath ULLAH ayath@hotmail.co.uk wrote:
Hi All,
A small query....
Is there a way to restrict certain user roles from viewing certain urls within my drupal site. I need my clients to see reports but not see seller reports. i have disabled it from the nav menu but they can just type it into the address
bar
and see the reorts.
Any chance of a module to help me out.
Kind regards, Ayath
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi Ayath,
On 28/12/10 23:36 +0000, Ayath ULLAH wrote:
Is there a way to restrict certain user roles from viewing certain urls within my drupal site. I need my clients to see reports but not see seller reports. i have disabled it from the nav menu but they can just type it into the address bar and see the reorts.
You can create different content types for reports and seller reports and adjust their permissions accordingly. This would work without additional modules.
Any chance of a module to help me out.
You could also use a module like content access and assign rights on a node by node basis.
http://drupal.org/project/content_access
If you need to protect files from beeing downloaded, you need to set "privat download path" in the file-system settings and work from there.
regards Rolf
You can try the path_access module. It will restrict certain roles from viewing designated paths.
Eric Aspegren
On Dec 28, 2010, at 6:46 PM, Rolf Kutz wrote:
Hi Ayath,
On 28/12/10 23:36 +0000, Ayath ULLAH wrote:
Is there a way to restrict certain user roles from viewing certain urls within my drupal site. I need my clients to see reports but not see seller reports. i have disabled it from the nav menu but they can just type it into the address bar and see the reorts.
You can create different content types for reports and seller reports and adjust their permissions accordingly. This would work without additional modules.
Any chance of a module to help me out.
You could also use a module like content access and assign rights on a node by node basis.
http://drupal.org/project/content_access
If you need to protect files from beeing downloaded, you need to set "privat download path" in the file-system settings and work from there.
regards Rolf
-- ... And there comes a time when one must take a position that is neither safe, nor politic, nor popular but one must take it because one's conscience tells one that it is right. — Martin Luther King, Jr. -- [ Drupal support list | http://lists.drupal.org/ ]