Solved

Disable edit permissions to authenticated users in Drupal

Posted on 2010-08-14
9
890 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 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

22 Experts available now in Live!

Get 1:1 Help Now