"User permissions" refers to the permissions defined by modules to allow users to perform specific actions defined in modules. It is different from "file permissions," which are the access permissions users have for files in a file system.

learn more… | top users | synonyms (2)

0
votes
0answers
14 views

term reference custom autocomplete field only populated with first data item

All, We added a custom field to the user profile called "interests and skills", with type Term Reference, widget type Autocomplete term widget (tagging). The vocabulary assigned to that field exists ...
1
vote
0answers
12 views

Can one user be assigned different permissions in different sections with Workbench Access?

We are testing the Workbench and Workbench Access modules. We have many different sections on our site which are each managed by a specific department. These sections are established using a ...
0
votes
1answer
16 views

How to give user permissions to edit other user fields except user id & pwd?

Hi i am using drupal 7 website in my site having 3 different role of users 1st role of users need to edit 2nd role of user fields except user id & pwd & email & roles.i have tried with ...
0
votes
2answers
34 views

Cannot Disable User Programmatically With user_cancel()

I want to disable user using user_cancel method. //A function that disables a user. function myid_admin_disable_user(){ try{ $edit = array( 'user_cancel_notify' => true,...
0
votes
1answer
16 views

Checking caller of a hook

Is it possible to know which code called a hook? I have two cases--one where I want to return, one where I want to continue. Anonymous user views a page, thus firing hook_entity_load() (I want to ...
0
votes
0answers
6 views

How can I grant permission to translate specific nodes?

I have a custom access function in my module implementing hook_node_access. Ideally, users should also be able to add and edit translations for nodes that they may edit. Strangely, granting a ...
0
votes
1answer
13 views

Custom access control in views

I have Views page with list of enities. The URL is /admin/group/12/members There is a route in mymodule.routing.yml: mymodule_members_list: path: '/admin/group/{id}/members' requirements: ...
0
votes
0answers
24 views

Change the check box values in user edit form

I have two user roles. builder and buyer. I create a vocabulary called notifications and create many terms. I specify each term with permission- for which use can see this notification. When a user ...
0
votes
1answer
34 views

Returns 403 error after user login

My site was copied from production to test server. It works on Drupal 7 + Nginx + PostgreSQL. On production, user login works fine, but on test server I receive a 403 error on users/admin (or user/1) ...
0
votes
1answer
19 views

Allow to edit only own account information [closed]

I have created editor role in Drupal 7. Now I want to allow user who has editor role, can update only their information like (Change password, update profile pic). Also can see only their entry in ...
0
votes
0answers
12 views

Custom Text Edior Permission Problems

I created a custom Text Editor to be used by Content Editors which prevents them from being able to add source code, images, tables, etc. Basically I just want them to be able to add text, format that ...
0
votes
2answers
51 views

management menu invisible for the second administrator

I am using Drupal 7.26, and I need a second administrator user. I created a user who can see the authenticated user's menu, but not the management menu which I (as user #1) can see. How can I fix ...
1
vote
1answer
19 views

How do I override headers displayed in permissions tables?

I'm using Organic Groups on my (D7) site. I've set it up so that group managers can create new roles and change permissions in their groups. I've overridden some of the permissions using ...
2
votes
3answers
178 views

How to give access to the files of node for individual users?

In my website I have these modules enabled: File Entity (fieldable files), Media, Rules, Entity reference. The default download method is: Private local files served by Drupal. So when userA upload ...
0
votes
0answers
7 views

Create user through code [duplicate]

I want to create a user in the system through code not in the admin/people interface. Is that possible? For example: username: fsuu user_role: 'administrator' password: 'fsarewuk'
0
votes
0answers
10 views

Autocomplete won't work for entity reference field unless User > Administer Users permission is granted

Drupal 8 I have an entity reference field (users) on a node, and the autocomplete suggestions won't show unless the User > Administer Users permission is granted to the role. I'm trying to let event ...
1
vote
1answer
81 views

Missing “view mode” permission in core

Context Drupal 8 Switching to Drupal for intranet site in large organization Background OtraganixLocker Corporation is switching to Drupal from a custom-made home-grown intranet site. They want ...
1
vote
1answer
17 views

content access does not work after changing domain

after designing and developing a website I changed its domain. Now any of the permissions are not working. every thing is OK appearently but the functionality is not OK at all.(I mean all the ...
0
votes
0answers
14 views

Comment Field, 'Your Name,' Will Not Accept Un-Registered Names

We want anonymous users to be able to leave comments with their names. However, even though I've set anonymous commenting on the appropriate content type to 'Anonymous posters must leave their contact ...
3
votes
2answers
40 views

Anonymous user cache issue

We're having a problem with caching that is affecting anonymous users. We have a form in a block that when the user fills out the form, they are able to download a PDF. We hide the block on pages ...
0
votes
4answers
99 views

Display users created only by the current user in Admin/People

Below is the site's user access level hiearchy: There is a user myid_administrator which has a role MYID ORGANIZATION ADMINISTRATOR. The administrator, aegono, had enabled 'Administer users' to ...
0
votes
1answer
24 views

How to create a user and only allow him to add users?

I have my system user roles, in the first image below: I want my user level access to be like the second image. I am the administrator of the site, I want to create a user with a role MyID ...
1
vote
1answer
56 views

Access denied on hello world custom module

Drupal 8 installed in Debian VPS server. Some installed themes do not work, some do. When tried to creat a simple 'Hello World' module,as described in a beginners book for drupal, installing of the ...
0
votes
1answer
18 views

You are not authorized to access this page with blocks displayed

I made a custom module in Drupal 7 with a simple page. I used hook_menu to make permission : function mymodule_menu() { $items = array(); $items['prestart'] = array( 'title' ...
1
vote
0answers
25 views

How to add permissions I have to another user in Drupal 8?

I have two roles, editor and employee. "A" user is in editor role and can change permissions, for example he can add users to employee role or remove them. However, it would be good that users in ...
0
votes
1answer
28 views

Filter by field user role permission

I have created View permission field in the events content type. Its field type is Role, so I can select which roles can see the node. This works fine, but when I add events content type in the view ...
4
votes
1answer
39 views

How to limit access to content to only users with the same role as the content author?

I'm having trouble in my Drupal the Views and I don't really know how to solve it. Let's suppose that we have two roles named Org1 and Org2. We can have more than one user per role so for example: ...
1
vote
1answer
29 views

REST interface to custom entity type getting constant 403's

I created my module and the entity definition using the drupal console. It has not been modified at all. My entity is for a user but for various reasons I won't be using the pre existing user entity. ...
0
votes
1answer
17 views

Content type access permission by user role

I have created 4 different content types and all except only one content type are visible to every user. Here, I am not using any type of access module like content access, field permission or ...
0
votes
0answers
4 views

Which permissions are responsible for managing fields?

On my Drupal 8 site I have some users and some of them should have an access to the settings of custom module. Which permissions should the user get to be able to manage fields, form display and ...
1
vote
1answer
22 views

Access Denied when I try to flush cache or change theme

This is a very odd issue. Logged in as admin. All permissions given to admin. But Access Denied page when I try to flush cache or change theme. I can flush the cache with drush. I tried switching ...
2
votes
0answers
23 views

How do I multisite with share user (and SSO), separate/dedicated users' role and content database on each site [closed]

I like to make Drupal 8 in CentOS 7 with Apache 2.4, mySQL and PHP 5.6 environment with requirements: Multi-site within domain (site0.example.org, site1.example.org, etc.) Shared local user account ...
0
votes
1answer
17 views

Management of priorities with node_access

I do not understand how priorities are set for the node_grants... I have a module node_grants function that provides 4 grant ids for the user, but some nodes only have 2 gids... how do I know which ...
0
votes
0answers
9 views

How to use hook_node_grants with multiple values?

I am struggling to find relevant information on this subject... Here is my issue: on my site, people can join various groups. Within each group, members can create events, only visible to the other ...
1
vote
0answers
34 views

multisite with shared user, shared session,separate role

I'm trying to build Drupal multisite with separate DB but shared user, session and separate roles. I did this in settings.php: Master/default/parent site: $databases['default']['default'] = array ( ...
2
votes
2answers
57 views

What does “dynamic permissions” mean?

What does dynamic permission mean, in Drupal 8? When should I use this?
0
votes
1answer
11 views

Access by role based on term referenced in the node

I'd like to restrict access to content based on a term referenced in the node. For example, I have a content type 'submission' and I want users with the role 'curator' to be only able to view nodes ...
0
votes
0answers
26 views

How to call a certain function when access denied message is shown?

How call a certain function when access denied message is shown? Note: The access decision being made by drupal code for anonymous user.
1
vote
2answers
32 views

How to send a notification to admin on profile picture change?

I want the new uploaded pictures to be sent (notification) to me (admin) for review and approval just to be sure they are in line with the terms and conditions of the webpage. Naked or semi-naked ...
1
vote
0answers
38 views

User can't edit user profile picture

Drupal 7 Users can't edit their own profile pictures. The admin can edit them, but the regular user cannot edit his own. A user can see their own picture, but if they click the Edit tab it is not ...
1
vote
2answers
29 views

Features + user permissions: what are the pros and cons of all in one versus separate?

I need to carry out a review of our user roles and permissions. Currently some roles and permissions are already bundled into existing features (usually custom content types), but most are not. I ...
0
votes
2answers
18 views

Drupal 7: Menu item being accessed even with false access callback?

I have a menu item: $items['login-now'] = array ( 'title' => 'Log In', 'page callback' => 'some_or_other_method', 'access callback' => 'the_permissions_function', 'menu_name' ...
1
vote
0answers
21 views

Blocks only visible to Admin, despite clear permissions

This problem concerns two related content types: Vendors and Resources (which are products sold by the Vendors). I have set up a Views block, "Resources by vendor", to display on all Vendor pages. ...
3
votes
1answer
102 views

How to implement gamification in a Drupal site and award incentives?

How can a Drupal site be transformed in a gamification platform, which can be used to encourage actions on your site that you want users to perform within a specified time frame. Some examples of ...
0
votes
1answer
20 views

Does the $form['element']['#disabled'] = TRUE guarantee that the user cannot edit the field or is it just a UI setting

I have a form element like this: $form['title'] = array( '#type' => 'textfield', '#title' => t('Subject'), '#default_value' => $node->title, '#size' => 60, '#maxlength' =&...
-1
votes
1answer
25 views

Role creation in drupal at multi level? [closed]

I want to create to some role as business manager,manager and last is handler. Business manager should have the role who can create manager user . Manager role should have the privilege who can create ...
0
votes
3answers
149 views

How do I grant permissions for translating block content?

I used the Block Image module to create some content; now I want to give the site's editor the permission to translate the blocks, but I can't seem to find how I can do that. There's no permission to ...
3
votes
2answers
55 views

How to give users with role Role2 the right to edit only user accounts with role Role1

I need to make a user edit users that have a specific role. In fact we have two user roles here. Role1 -> is able to edit a particular kind of node Role2 -> is only able to administer users with ...
1
vote
1answer
18 views

How to set permission to ALWAYS be full on for administrator?

I'm looking for a module that will give the administrator permission on ABSOLUTELY everything. Not only to retroactively give all permissions after having installed modules in the past. But also for ...
1
vote
1answer
16 views

Connect multiple AD's to one site

Is it possible to connect 2 AD's to drupal intranet to have single sign on (with the LDAP module)? thank you in advance