Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Disable edit permissions to authenticated users in Drupal

Posted on 2010-08-14
9
Medium Priority
?
912 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
Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

 

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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
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.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

721 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