Solved

Disable edit permissions to authenticated users in Drupal

Posted on 2010-08-14
9
887 Views
Last Modified: 2012-05-10
Hello Expersts,

I was wondering, I just added a new user to my site using drupal. I just give him permissions to access the content of the site. But when that user logs in, he can see the view and edit tabs on its account. I just want him to see the files I upload on his account, nothing else. Authenticated users are only allow to see the information I posted in their account.  

Is there anyway to remove these tabs for authenticated users?

Thanks in advance,

Winter
0
Comment
Question by:glepiza
  • 5
  • 4
9 Comments
 
LVL 17

Expert Comment

by:Thomas4019
ID: 33438011
Certainly, go to example.com/admin/user/permissions, find the "node module" header. Uncheck some of the boxes under authenticated users.

If you're new to drupal read over the beginners cookbook here, http://drupal.org/handbook/customization/tutorials/beginners-cookbook; especially this page, http://drupal.org/node/120614.
0
 

Author Comment

by:glepiza
ID: 33438301
Thanks for your answer Thomas, but what you are suggesting is what I did before. I am new to drupal and already read the cookbook. I am going to keep checking. Maybe I am doing something wrong creating the content for each authenticated users.. I've checked that so many times that I think I am going to take a rest.

I will be back later,

Thanks

winter
0
 
LVL 17

Expert Comment

by:Thomas4019
ID: 33438309
I'm sorry this has been so frustrating, well make sure that the user you are trying to limit the permissions on does not have any other roles, or else he can get permissions from those roles.

Also, If this user was the first user created on the drupal site, he will automatically have all permissions regardless of what the check-boxes are.
0
 

Author Comment

by:glepiza
ID: 33461144
It seems that this module: tab_tamer will do the job, but it will disable the tabs for everyone including admin. Man!, and I was pretty sure that I found the answer. I will keep looking around to see how to disable all the tabs for users except for the admin...
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 17

Expert Comment

by:Thomas4019
ID: 33461355
I am almost positive you can solve your problems with permissions.

1. Make sure this user you are dealing with  doesn't have an admin role.

2. Go to example.com/admin/user/permissions and uncheck every box under the column "authenticated user".

3. Only check the box "access content" in the "node module" header under the  "authenticated user" column.

Now regular users will not see the tabs.
0
 

Author Comment

by:glepiza
ID: 33471912
Hi Thomas,

I did exactly what you said which was the same thing I did before. But those tabs are still there, I think it is ridiculous. authenticated users only have access to content permission, nothing else. hmmm.It seems under the edit tag they can not change the email address, but why the edit tab is still there if they are not suppose to change anything? It seems that I will have to hide those tabs using css since it seems they cannot edi anything anyway. what do you think?
Picture-4.jpg
0
 
LVL 17

Accepted Solution

by:
Thomas4019 earned 500 total points
ID: 33472105
Ahh, thanks for a screenshot.

That is the "edit" tab for the user account, completely different.

Apparently this can't be done in Drupal code, I never knew that.

I would install this module, http://drupal.org/project/userprotect.
0
 

Author Closing Comment

by:glepiza
ID: 33475573
Hi Thomas for your help!!!!, I appreciated it.

I  am going to take a look at that one. My next goal is to create a content page for each authenticated user.

Thanks very much for your help.
0
 
LVL 17

Expert Comment

by:Thomas4019
ID: 33477485
Glad to help, your next goal might be aided by this module, http://drupal.org/project/content_profile
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Drupal 5.x currently does not have a production-ready patch bundle to allow for split read & writes for a MySQL master/slave replication setup. After reading a open discussion/thread on the Drupal site (http://drupal.org/node/147160 (http://drupal.o…
Since I am currently running into this issue right now as I type this, I though I would share my experiences with moving a ModX Revolution site from one server to another.  It is not an easy task, but can be accomplished rather easily. The first …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now