Roles allow defining what a user can do by assigning the relevant permissions to a role (e.g. editor) that is then assigned to users.

learn more… | top users | synonyms

0
votes
0answers
7 views

Expose roles to views

I am using the role reference module (https://www.drupal.org/project/rolereference) to allow me to add roles to a content type. For some context, in my case we are managing policies. The policy ...
0
votes
1answer
12 views

Taxonomy Access module with role

After install Taxonomy Access and access the basic admin content page "admin/content" with an admin role called "publisher" which has the authority to administer the content the page does not show any ...
0
votes
1answer
29 views

Show special roles on user profile

I have a little issue on drupal 7. I want a little object/field on the userprofile. This object/field shoud show special roles of the user (special = "admin, moderator ..."). And is it possible that ...
0
votes
1answer
33 views

User list with View: display only on role

In addition to the Administrator role, I've created several roles. I'm still using the Administrator role for users who needs administrator access. However, in my user list, I've created with Views, ...
0
votes
2answers
27 views

How to remove all users from a role?

How to remove all users and their content from a specific role programmatically ?
0
votes
1answer
15 views

give permission of create new revision to specific roles

I need to give the permission of "create new revision" to a specific role. but nothing related to this issue appeares in permissions page! I've installed Revisioning module too. how can I set it?
0
votes
0answers
14 views

individual role permission rather than automatic selected

I have used that module but can't remember the name & can't find it anywhere. Suppose I have 4 roles in the site: Anonymous user authenticated user Elite user administrator As you know, Drupal ...
2
votes
1answer
38 views

Roles Machine name instead of role id

I have custom module code that check the user role and based on user role, user fields updated, for example if(array_key_exists(12,$user->roles)) { //Manger $role = array(8=>8); } ...
0
votes
1answer
21 views

Is it possible to disable CSS and Javascript aggregation by role?

Is it possible to disable CSS and Javascript aggregation by role? That way during content editiong or administration stages the user is not affected and can check the CSS alright, while end users ...
0
votes
1answer
16 views

User can change `Moderation State` on content without having permissions to do so - Workbench

I am using Workbench, Workbench Moderation and Workbench access. I have a content manager role, who should be able to only create unpublished content, edit content that is flagged as Needs review and ...
0
votes
2answers
34 views

Limit the number of uploads per image field depending of role

I need a hook (or something similar) where I can set the number of image uploads depending of the role of the user. In the settings of the field there is no way to set the maximum number of values ...
0
votes
1answer
29 views

drupal 7 ubercart roles assignment ineffectual

Nothing happens when I test in the sandbox with paypal standards payment and everything set up through ubercart for recurring subscriptions and feature added role assignment, when I edit product ...
0
votes
0answers
18 views

Give access to a restricted node/page through clicking a link from mass email

I have event RSVP pages where users with a particular role say "member" can RSVP once they are logged in. If they are not logged in i send them to login page once they click on "RSVP" button. I am ...
0
votes
2answers
58 views

Download file field dependent on user role vs role field values

I have a type downloadable_item which has a field field_roles_allowed that is based on the Role Field Module. My goal is to have a field_download of file type that will show the file for download if ...
0
votes
2answers
24 views

Remove users with no created nodes D7

I have a site setup where users create a node as soon as they login from the activation link sent via email. I've recently been getting tons of people signing up but not creating any nodes because the ...
0
votes
1answer
27 views

Unable to edit menu: You are not authorized to access this page

I got a very odd error for "new" admin user on Drupal 7. There are a few admin users in this site but only the "new" one that is unable to create, edit or list links on any menu. The error message is ...
2
votes
3answers
90 views

How to remove all roles from a user?

Users on my site generally have several roles. However, every once in awhile I get a spam user, and so I close that account by flagging it with a spam flag, which triggers a role to block the ...
1
vote
0answers
13 views

Ubercart : divide the main stock in stocks per type of users

I am working on a website built on Drupal 6 where the current situation is the following : There are different kind of members (Premium Member, Regular Member). There is an online shop, using ...
0
votes
1answer
20 views

Drupal Content Updates Not Visible to Public Without Login Attempt

New to Drupal picking up an existing prototype site design from another newbie. Installed version = 7.28 Whenever I make any updates to contents or even site name and tagline, as Administrator I see ...
1
vote
2answers
44 views

Restrict Users from creating + editing higher level accounts, but still able to create + edit lower level accounts

I'm trying to restrict the permissions of a custom user role so that they can create, edit and delete lower level accounts, but not have any access to create or edit Administrator accounts. I've ...
0
votes
2answers
22 views

Default language for role

I'm building a website in French as default and only front language but I have to figure out how to do this: I have administrator and manager roles, both are ok using the french language for both ...
0
votes
0answers
15 views

Different Roles, same Display Name

I have Drupal 7, Ubercart 3.x and Roles. I would like to sell roles as website memberships of 1 month, 2 months and 12 months. Each one will cost a price, the longer the membership duration, the ...
0
votes
0answers
19 views

Login gating/restrictions module recommendations or advice

I have been running through a lot of internal pitfalls with trying to develop an internal component to do redirects based on the following logic, as dictated by requirements: For authenticated users ...
0
votes
2answers
36 views

How to prevent other roles from publishing content

I am new to Drupal. I am working on a website where I have 2 user roles: Site admin and editor. The site admin has all permissions. I want the editor to only have the permission to edit content but ...
1
vote
1answer
24 views

Views: how to enable Title Link per role?

In Drupal 7 Views, there is an option to Link title field to the original piece of content. How can I enable the link per role? I only want to show the link for administrator and staff, so it will be ...
0
votes
1answer
29 views

Create a view with user filter by default and all users after reset

I come here because i want to create a view who display all content of type "Document" of my website, but by default i want to show the content of type "Document" of the user connected. And after when ...
10
votes
3answers
161 views

Restrict editor user to only edit contents in one specific language

I'm trying to create a role for editors where one editor only has access to edit English contents and the other only has access to contents in another language. I've been researching for quite a ...
0
votes
1answer
17 views

Strange behavior while assigning the role programmatically

I used this code to set role to a user : user_external_login_register($form_state['values']['name'], 'beneficiaire'); $account = user_external_load($form_state['values']['name']); ...
0
votes
1answer
33 views

Remove choice for user delete from Roles which can adminster the Users

I have a User Role called Supervisor which can create new accounts of role Supervisor. The Supervisor can also delete other users with supervisor role. While deleting Other users the Supervisor gets ...
0
votes
1answer
13 views

title_callback not working for certain user in hook_menu

I am developing a module to manage Human Ressources. I implement hook_menu with a title_callback like this: $items['intranet/hr/%user'] = array( 'title callback' => 'user_page_title', 'title ...
-1
votes
1answer
17 views

How can I allow non admin users to edit the menu settings for a node?

How can I set a "Menu settings" field to be available to non admin roles in the permissions page? Here's an image to clarify what I am trying to allow select roles to edit when creating a new node of ...
0
votes
2answers
21 views

How to hide roles from user_profil_form while keeping value?

After loading user_profil_form form, I tried to hide the roles fields. It worked fine, however after submitting the form, my user roles are removed and it's only linked to "authenticated user". Is ...
0
votes
1answer
9 views

Expose some administrative functions on the front-end

I'm developing a web-app for managing non-profit organizations by extending the functionality of the Drupal CMS. What I want is to have only one administrator account (call it super-admin if you ...
0
votes
0answers
15 views

How to customize the 'node content links' block?

I'm using Organic Groups to make groups, and have made two content types to be added to the groups. I'm also using the OG extras module, so now I have the 'Node content links' block, where users may ...
0
votes
0answers
8 views

Module providing calendar with roles functionality

There is plenty of calendar modules, but I am looking for module with covers this particular funcionality. I went through Youtube tutorials and modules list and I didn't spot mentioning this one. I ...
1
vote
2answers
32 views

How to display the 'Request New Password' page for Administrators.

What I'd like to do is have the exact same page as /user/password (when not logged in) that the 'Administrator' Role could use and send out emails to existing users. However when logged in you get ...
0
votes
1answer
37 views

Load certain modules only if user is administrator

I have a number of custom admin modules that deal with site statistics, site management, etc. These are quite heavy and I would like to reduce the site footprint for non-admin users. Is there anyway ...
0
votes
1answer
35 views

Restrict language content for a given role

I have a multilingual site (spanish/english). I created 1 role: translator. I need the anonymous users to ONLY see the contents in english language and the translator users to see both. How can I ...
0
votes
2answers
37 views

role delegation module : how to fine-tune the 'edit-administer-users' permissions?

Using role delegation module , i allow a user say 'mat' with a 'site_admin' role to assign other users to a 'VIP_role'. The problem is role delegation needs apparentely 'administer users permission' ...
0
votes
0answers
53 views

Can't edit permissions anymore

I use the latest version of Drupal 7 and when I try changing some permissions and click to save, I get the following error: Notice : Undefined index: administer partner 6 dans ...
0
votes
1answer
20 views

“Preview before submitting” based on user role

So, you can make "Preview before submitting" optional or required for a node type. I would like to make it optional based on the user who is creating the node. So, for example, a authenticated user ...
0
votes
1answer
42 views

Programatically create new user role in drupal 7

I am trying to create a module which will easily allow me to set up basic sites with specific settings on the fly for a project I'm working on. I am having trouble creating a new user role. I have ...
0
votes
0answers
16 views

Upgrade/downgrade user role based on profile2 field value(boolean) which can be accessed by admins only

There is a role called moderator and profile2 types like advanced,verification. Verification profile type(which can be accessed only by admins) has boolean field called verified. When admin verifies ...
0
votes
0answers
40 views

Flexi access : Create ACL with a particular role

I'm trying to use Flexi Access module on my website. I need to allow some users to see nodes where they haven't access. But when the admin will create the ACL and choose the allowed users for a ...
0
votes
1answer
38 views

So many users and their access

I am developing a site which has around 46 departments and each dept has three Access types. Say Dept Admin, Dept Lead, and Dept Agent. Site will use taxonomy terms Confidential, Restricted, Private ...
0
votes
1answer
35 views

How to define an intermediate admin user as the default install profile on fresh drupal 7?

When generating a new drupal site (multisite), I would like to define the default user profile as an admin user without acces to administration menu. How can I create this new user as an install ...
0
votes
0answers
13 views

How to set permissions for multiple menu items/entire menus at once

How would you go about restricting access to entire menus based on role at once, rather than having to go through one menu item at a time? I'm in the situation of having 30 different roles and 100+ ...
-1
votes
2answers
64 views

How to Implement Multi level of users having different levels of roles under different branches , groups etc using Drupal [closed]

I have to create a web portal, that have number of users from super administrator to employee. Users have single or multilevel access(either to data of one branch or to multiple) on the system. Some ...
0
votes
0answers
13 views

Multiwizard Registration Form based upon Role [duplicate]

I have two different user roles: Reseller Customer Each roles have different registration forms depending on the Role they picked. If he selecting Reseller then two step registration form should ...
0
votes
2answers
37 views

how do you restrict directory path to role?

How would you go about restricting a specific directory path to a role? www.example.com/example1/example3/example4 How do you restrict role access to the directory example1 so that example3 and 4 ...