Solved

Disable edit permissions to authenticated users in Drupal

Posted on 2010-08-14
9
905 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 

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
 
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

634 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