Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Disable edit permissions to authenticated users in Drupal

Posted on 2010-08-14
9
Medium Priority
?
917 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

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

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 …
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

972 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