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

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
19 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
0answers
17 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
26 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
6 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
35 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
16 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 ...
0
votes
0answers
21 views

Recruit Distribution user roles Issue

I am using Recruit distribution of drupal, https://www.drupal.org/project/recruiter I am facing an issue while uploading the content in a jobs content type, I have user role named as recruit, the ...
-2
votes
4answers
64 views

How to set default role as 'Member' in drupal 7?

If I have a role i.e. Member. How to set 'Member' as a default role for the users after they registered yourself ? Please help. Thanks
0
votes
0answers
23 views

Show profile fields depending on the profile users role

We are using profile2 to display users listed on our site which has different member levels. Is there an easy way to hide certain fields based on the profile2 users role. We still like them to enter ...
1
vote
1answer
30 views

How to add users under a specific role

We have 4 type of users - Admin - can view and manage all other users Parent - Can view and manage students but own child Teacher - Can view and manage students assigned to him Student - Can ...
0
votes
1answer
14 views

Intending to select user role while creating the node to control the node visibility

I have simple requirement. I have multiple user roles. What I want is that when I create a node, I could select a role of the user which is able to see this node. Or may be by default all roles are ...
0
votes
1answer
29 views

How to restrict user posting a node in certain circumstances

I've created a new user role (country_admin) and I have created a field for these users called user_country. This can be set when registering a user to UK or USA. I have created a taxonomy ...
0
votes
0answers
23 views

User roles for specific taxonomies

I have a taxonomy on my site called 'countries'. I have three 'countries' terms: "UK", "USA", "AUS" I have created a new user role in Drupal 7 called 'countries_admin'. I want to be able to add ...
0
votes
1answer
35 views

Drupal 7 permission enable

I have created new user/role for my user. What permission I need to enable for my user to let them access the Admin->Structure->Pages ? I want this "Structure->Pages" enable in my user page what ...
0
votes
0answers
29 views

Role next to username

Is there a way to display a specific role next to username? There are some articles https://www.drupal.org/node/1776940 and https://www.drupal.org/node/842392 which correspond a little bit to this ...
0
votes
1answer
23 views

Content Access for not showing specific Content types on Add Content page

I am new in Drupal. I have one simple query. I am trying to create one Editor role for one website. Editor would be able to create, update and delete one specific content type "Documents". I have ...
0
votes
2answers
62 views

Limit amount of content creation per anonymous user

In my site anonymous users has access to create one type of content and all data the site stores is user IP address. How do I limit lets say e.g. 2 nodes creations per IP in 12 hours? And when limit ...
0
votes
1answer
21 views

Views boolean column if user has a specific role

I have a standard Drupal installation with Views and Administration Views modules installed. By default, the Users view has a column Roles with ALL the users roles. How to include a custom column ...
-1
votes
2answers
68 views

How to check logged in user username/password/role using Drupal function for validation [duplicate]

I am allowing user to register in my site. while registering, user is assigned with a specific role using user_save while logging in as registered user, I have to check if login credential are ...
0
votes
1answer
17 views

Simple category with drupal commerce not showing to anonymous users

I followed this guide https://drupalcommerce.org/user-guide/setting-product-catalog and now I have a nice simple category page, but not visible to anonymous users. I tried changing the roles to ...
0
votes
1answer
28 views

Don't let user register without role/profile2 profile?

I created a site for a client that lets users register an account of either one out of two roles, which then is linked to one of two profile2 types. Therefore my client wanta no other being able to ...
0
votes
1answer
24 views

Ubercart show Prices without Tax For specific Role

I need to show prices without tax for specific user role. Other available roles should see prices with included tax. How I can achieve this behavior?
0
votes
0answers
18 views

CKEditor - Have custom styles based on user role

Is it possible to restrict a custom ckeditor.styles.js file for a specific user role or roles? For example, if I have a User with defined Roles Content Loader and xDept User, I would like to have the ...
0
votes
1answer
32 views

Removing a row from a view depending on the user currently logged in

I have a view which prints out a table of blog posts. There are 2 columns - title and tags. If a post has a tag assigned to it called core-team then users with the role non-core shouldn't be able ...
2
votes
3answers
90 views

How to assign roles in my own registration form in Drupal 7

I know about assigning roles and permission in DRUPAL admin login where admin can add user and even add new roles (check here) to the new users. I have a basic registration form in my page and while ...
0
votes
2answers
28 views

How to lock a node from a certain role after changing state in workflow?

Workflow module lets you set who can change a certain state to what state. What modules can I use to be able to prevent a certain role from editing a node that is in a specific state? Ex: if a node ...
0
votes
0answers
13 views

Different Entity Reference List for different Roles

I have two user roles like: content creator admin And an Entity Reference Field that: Should only contain a list of the authors nodes (for role content creators) -> I solved this with an entity ...
0
votes
1answer
89 views

“View private files” permission not effective

I have 3 users, an administrator, an uploader, and a viewer. The uploader has a file field attached to his profile and the destination folder of the uploaded (in my case .pdf) file is set to the ...
0
votes
2answers
101 views

Guide on How to Load CSS File Per Role

I'm looking for the simplest solution to allow a custom CSS page to load per role. I have to the CSS pages done, but just need to load them and ensure they are only loaded based on user role. I'm ...
0
votes
1answer
16 views

Find role based on list of permissions

Is there any way of finding the role given a list of permissions? I.E.: $permissions = array('administer content', 'access content'); $role = find_related_roles(); // $role = array(4 => ...
0
votes
1answer
70 views

Send email before role expiration

after long searching and many attempts I definitely need your help. On the website I am currently working on, people can buy a "Participant" role for 1 year. I'm using ubercart to handle the ...
0
votes
1answer
10 views

Create a robust permission control

I am building a system in Drupal and here is one question that is blowing my mind for more than a month and I hope you guys can help me. My user access control inside the system must work like this: ...
0
votes
3answers
46 views

Add/Remove User Role on Node View

I want to be able to add and remove a role to a user via a simple click of a button on almost any node. (Specifically the plan is to allow a user to give themselves a role that would give them extra ...
0
votes
3answers
60 views

Permissions for new role do not work

i have a certain problem regarding a content type and a "supervisor" role for it. For the content type (which unfortunately did not create it myself but found it on an ongoing project), i have ...
1
vote
0answers
36 views

Vocabularies don't appear when Taxonomy Access Control installed?

I have 3 Vocabularies called Country, Project, Research Communities. I installed Taxonomy Access Control module. I haven't configured it yet. But as soon as I install the module, if Anonymous or ...
0
votes
5answers
68 views

Restrict changes of a node

I would like to know how I can restrict editing some property of nodes (like title / Url) for some users (roles). So if I give -moderator access- to some users, they don't start messing with urls and ...
2
votes
1answer
53 views

Edit content if (taxonomy) Country = United Kingdom

I have created a user, now I want to give him permissions so that, when he is logged in, he can view/see all the contents, but can't edit/publish/unpublish/delete them. Of all the contents, he can ...
0
votes
2answers
41 views

How to give Permissions to User based on taxonomy selected while creating a content?

I have a taxonomy called Projects and it has terms like Project1, Project2 etc. I have added a user called ProjectUser1, and assigned a new role called ProjectRole with it. Now I want to give ...
2
votes
2answers
47 views

is there hierarchical user level structure in drupal

Is there any hierachical structure of user in Drupal? I just see user role in drupal, but can we define some level of user? As example: user1 --user2 ---user3 --user4 ---user5 ---user6
0
votes
0answers
34 views

Assign permissions to USER not to ROLE

I am facing a problem and I will try to explain it here and I hope you guys can help me. I am building a CRM in Drupal and Laravel and I have a module called Partners where I store all the ...
0
votes
1answer
26 views

Is there a way to export all roles and permissions from testing environment to be imported/deployed on production environment?

I have testing and production environments that host drupal-7. I have some roles and permissions settled on the testing environment. Can I export these roles and permissions to the production ...
0
votes
2answers
129 views

Send user a reminder email after x-number of days if Profile2 field is empty and user has specific role

I have a multi-step user signup process. When the user creates their account, they are assigned role "A" and are redirected to a Profile2 form with various fields. If they complete and save their ...
1
vote
2answers
38 views

Is there any module that let (selected) users (/roles?) see the Administration pages in read-only mode? [closed]

Is there a module out there which lets us assign a permission to a role which lets a user look at the site from the perspective of an Administrator, or better, from within the permissions of any ...
0
votes
1answer
64 views

Get Organic Group roles of the current user

It seems a few different versions of this question exist so apologies if it seems I am repeating but I dont think I am. I am trying to use the api to get the og role(s) of the current user, not just ...
0
votes
1answer
47 views

How to make user profiles of specific role as public in drupal 7?

I am working on a project and the problem I am facing is, There are 2 user roles Doctor and Patient. What I want to accomplish is profile of users with role of "Doctor" is accessible by all including ...
4
votes
1answer
97 views

How to login by single role if user have multiple roles?

In my latest project client asked me to add extra interface after login where all roles assigned to that user will be shown and user can choose the single role and login by that role only. But i don't ...
0
votes
1answer
49 views

VBO action 'Modify OG user roles' does not show custom OG roles on the 'Add roles' list

I have added new OG roles like 'tutor' or 'contributor'. I am using the view og_members_admin that comes with drupal commons, which uses view bulk operations 'Modify OG user roles' to give an admin ...
0
votes
1answer
15 views

How do you allow a role to assign other users roles - but only specific roles?

I'm creating a "level'ing" role system on my page. At a certain role (Full Member) the user must be able to assign someone with the role level 5 the new role level 6 manually once a dialogue is ...