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

1
vote
0answers
15 views

Allow all users with a certain role to set Groups Audience to any Organic Group

I am using Drupal 7. What I am trying to achieve is the following: I have several users with a particular role say "A". And I have several content types set as "Group content" When a user with role ...
1
vote
1answer
33 views

Displaying users who click the button

I have 2 user roles in my Drupal 7 site 'A' and 'B' respectively: users of role 'A' can create and publish content. users of role 'A' can see content they created on their profile page. (For this ...
2
votes
1answer
29 views

How to modify account page adding possibility for a user to chose one of 2 roles

I have Drupal 7 installed on my WAMP localhost. I need to add a widget to the account page to allow users to chose 1 of 2 roles (recruiter or applicant). Having chosen one role the user cannot switch ...
1
vote
2answers
18 views

How to enforce role selection on the user's create, so they can edit other certain users? [closed]

I have three roles. registry teachers students How do I enforce role selection on user's creation? I want the registry role to create and edit users (ONLY teachers or students role).
4
votes
4answers
33 views

Landing Page Based on Role?

Use Case - I've got several Dashboards (some custom View pages) in the site. Depending on the Role associated with a User, I want to direct them to thier respective Dashboard. So an Editor would go ...
0
votes
1answer
20 views

Rule to send an email when role is changed

I'm trying to send an email to users after their role has changed. So far, the rule is triggered every time the profile is saved (even without role change); I suspect that the data comparison is not ...
0
votes
1answer
16 views

Drupal 7 How to make the value of a user field (site_path/admin/people) dependent on user role

I am using the module Administration Views (https://www.drupal.org/project/admin_views) to change the layout and content of the Drupal users view at "site_path/admin/people". The site I am working on ...
0
votes
1answer
12 views

Services 3: How can I get a list of the roles in a system, via the REST API?

Similar to How to Retrieve all Forums, how can I retrieve the list of roles in a system via the Services REST API? This is Drupal 7, Services 3.x. Are roles terms in a taxonomy vocabulary ?
1
vote
1answer
30 views

permissions to allow role to edit the posted date

in drupal 7 - I have given a role the permissions to edit, add delete and modify content but he doesn't see the authored date in order to modify it. how can I give him permissions to modify that ?
0
votes
0answers
27 views

Price per role with Drupal Commerce

I'm new with drupal commerce module (before I used Ubercart). I was wondering if there is a way to have different price list per user's role. It could be made with price rules, but if I have over ...
0
votes
0answers
11 views

Why is 'Authenticated' only sometimes added to the users_roles table?

I understand as a default drupal does not include a row in the users_roles table for role 2 (Authenticated User), but it appears that sometimes it does, and I can't understand any rhyme or reason to ...
0
votes
0answers
19 views

how to restrict heartbeat activity messages per roles?? i am using drupal 7

Message display access Defines to whom the message is meant for and who is entitled to see the message. Limit this message with roles anonymous user authenticated user administrator moderator Guest ...
0
votes
0answers
8 views

IMCE not working correctly for a certain role

When I use imce as a certain role images do not upload properly (there is a delay between uploading the image and it being available) and there is no pop up showing that the image has been uploaded. ...
0
votes
1answer
11 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
25 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
43 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
48 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
41 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
22 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
52 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
47 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
36 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
58 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
40 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
24 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
65 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
26 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
47 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
99 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
16 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
29 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
52 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
24 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
16 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
20 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
45 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
27 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
31 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 ...
12
votes
3answers
226 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
35 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
19 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
24 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
13 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
23 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
10 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
33 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
46 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 ...