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
3answers
21 views

Ubercart- Assign new role on expiry

I am granting users specific a role on purchase of some product( using ubercart). In doing so I have added a rule to take away their initial role(so that they do not have 2 roles and confuse the ...
0
votes
2answers
20 views

Different user registration

small question I've created a content type 'Player' with the necessary fields. With the 'Inline Entity Form' module i've added this tot the default user registration form. Now when a user register, ...
0
votes
0answers
4 views

Restrict view access of a group content node based on OG role

I'm using Drupal 7 and Organic Groups along with a number of popular contributed modules. My situation: I have a group called 'Project'. There are multiple group roles that have access to this group; ...
0
votes
1answer
22 views

Disqus Comment for one role type

I have installed Disqus on localhost and want users of a particular role type only to be able to comment. Basically, there are free and premium users but I wish to allow only the premium users to be ...
0
votes
0answers
13 views

Role not showing up on Grant

I have an issue with a new role I created. I created a role called "folders" and defined it in the module and AD, since we are using LDAP, however I can not see the role on grant. I have tried ...
1
vote
3answers
41 views

Only display content that belongs to User in admin/content

I have a role called Content Editor and 2 users Chang and Liang with that same role. They can both add/edit their own content. The role permission is set in such a way that they can only edit own ...
2
votes
1answer
22 views

How to hide a block enitirely which has empty content (unless for a specific role)?

I have a custom block and I want to limit it only to one role. The position of this block is administrator->dashboard. I have set the visibility settings of block to be shown only to role editor, but ...
0
votes
1answer
11 views

File/function that is executed when I open node from view [duplicate]

I have created view for displaying the nodes. I want to know which function/file is executed when I click on the node listed in the view table. I want to add some code to the file when the node ...
0
votes
3answers
14 views

How can I prevent user pages being created for users with a specific role?

I have various users on a Drupal site. Internally, I differentiate between users by user role (e.g. 'member', 'non-member'). Is it possible that if a user has a certain user role, that I prevent ...
2
votes
3answers
56 views

Change logged-in user permission in hook_node_view

Can anyone please let me know how can we achieve the following scenario I want to change the role of the logged-in user before viewing the node. When you click on the node for viewing it, I want the ...
2
votes
1answer
25 views

Filter users in views with a mandatory role and another role that is optional

Suppose I have a Role A and Role B. As per my requirement The Role A is mandatory for a user and the Role B is a good to have role. I want to filter out the users in the views. So If a user has only ...
0
votes
0answers
22 views

How to override authenticated user permissions?

I'm looking after an intranet site on D7. Our system daily gets a user feed from active directory and puts everyone (new/existing users) as authenticated User. Authenticated users have the permission ...
0
votes
1answer
15 views

How to filter messages

I'm developing a lot of complex rules in D7 and for debugging reasons it is very handy to have different messagse (the standard drupal message) within the website. For this I use showing a message on ...
0
votes
1answer
25 views

Open Atrium permission issue

I've added new roles and give it to them a permissions to create content and for some content... and fields but not work with open atrium. Please help!
0
votes
1answer
19 views

Restrict access to the content for the own author depending upon the field value

This is what I want to achieve: If the value is not "Approved" the author can still edit or delete his/her own content. If my admin status values is "Approved" then the content can not be edited ...
0
votes
1answer
12 views

In drupal with Rules module have to restrict the edit and delete options using Field value “approved”

In my website i add three roles. user, tester and admin. when user submit the content, tester will check and approving it. My need is before the content will be "approved" user can edit and delete his ...
1
vote
1answer
34 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
36 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
34 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
20 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
39 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
3answers
39 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
28 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
15 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
42 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
61 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
20 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
21 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
18 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
18 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
31 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
59 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
87 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
61 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
35 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
18 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
74 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
95 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
69 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
82 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
67 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
27 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
76 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
33 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
78 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
117 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
22 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
45 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
60 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
32 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 ...