"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)

1
vote
1answer
42 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
15 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
14 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
26 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
31 views

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

I'm having a trouble in my drupal views and I don't really know how to solve it. Let's supose that we have two roles named Org1 and Org2. We can have more than one user per role so for example: - A ...
1
vote
1answer
26 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
16 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
14 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
18 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
16 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
23 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
49 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
30 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 ...
0
votes
0answers
31 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
26 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
17 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' ...
0
votes
0answers
20 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
78 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
18 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 ...
1
vote
3answers
138 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 ...
0
votes
1answer
14 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
1
vote
1answer
44 views

Is there a way to restrict some pages like node/add, /user/login and more?

Can we restrict some page like node/add /user /user/register - as I dont have login/registration page at all /user/login node/200 or node/500 - so that may be of any content type and it should be ...
3
votes
2answers
35 views

User permission to edit only nodes with taxonomy term

I want to let my customers only edit nodes that have a specific taxonomy term. For example i have user TimCook from company Apple. He got the role "customer" and i want to give him the right to edit ...
0
votes
1answer
21 views

Site Access control through a particular user field in Drupal 7

I am trying to only grant user the access to the site if one of the user fields have a particular value. If not, the site should show an access denied. Is there an efficient way to achieve this? ...
0
votes
1answer
24 views

What can I check to find out why my Organic Group permissions and roles don't work?

When I add a user to the group and assign them an organic group role they are not working... I am trying to restrict what they can do on the group but they keep getting automatic elevated permissions ...
4
votes
2answers
79 views

Custom comment access

I need to prevent users from posting comments based on some conditions but I can't find any hooks I can implement. For nodes we have hook_node_access() but apparently there is no ...
0
votes
1answer
25 views

Full access to admin panel

So I have an access to the site as 'content' manager (at least it says content in the username field when im into dupal panel). And they asked me to change the menu a bit. But all I can do is making a ...
0
votes
0answers
18 views

Create node, register, then activate using email and then publish

I am not sure if this is a rhetorical question but I have not found an answer yet. I am trying to build a review system. I have a node - A and and using nodereference url widget I have node - B, ...
0
votes
2answers
27 views

Where does Drupal store its url/domain name?

I created a site using an IP address and imported a live site on another server, then I made the domain name live on the new server created with the IP address. Since then I get permissions error for ...
0
votes
1answer
24 views

Allow registered users and anonymous users to add node with Password - “Password node”

I've just installed version 7.x-1.x-dev of the protected node module on a drupal 7 site. As administrator, i can manage averything as desired. That mean can set password on node. But my problem is: i ...
0
votes
0answers
9 views

how to edit permissions on the values of multiple value fields?

I have searched the web for this one and it looks like no one has asked this or requested this yet: how to edit permissions on the values of multiple value fields? In other words, if an image field ...
1
vote
1answer
20 views

Allow users to access only terms that he created

Terms from user that created nodes are stored in vocabulary tags. When user creates new content i would like to allow him to only choose from list of terms he created instead of whole vocabulary. Is ...
1
vote
1answer
24 views

Comment permission settings

Please kindly help if you know a solution for this or a ready module you may be aware of: 1:I need to set a node a way that each user can only see their own comment and replies to that. 2:Also I need ...
0
votes
0answers
26 views

Allow user to block another user from accessing their nodes/content

I am trying to figure out the best way to allow User 1 to block User 2 from viewing/accessing any of User 1's content (nodes they have created, Profile2 page, etc). Ideally, User 1 will not show up in ...
0
votes
1answer
22 views

Permissions not working with Tabs menus?

I have Menus with Tab structure Working from my custom module. But When I built permissions for each Tab It does not work according to assigned user roles in permissions, also it just made those url's ...
0
votes
1answer
21 views

Is it possible to give users different roles/profiles on different part of the website?

For example, is it possible to give userA full read/write access on some part but read-only access on others? Most importantly, is this possible without too much hassle? I mean what I'm looking for ...
5
votes
3answers
241 views

How to display another message instead of 403 when trying to open a display of an unpublished product?

When somebody tries to open the product display page for the product which is unpublished, it results in the access denied 403 page being shown. I want to display a message ("This product is not ...
0
votes
1answer
35 views

Allow access for anonymous to custom user view mode

I made a custom view mode with display suite for the user entity. It is called "user_teaser" and shows some fields that may be visible for Anonomous user. Unfortunately currently anonymous users ...
3
votes
4answers
129 views
+50

How to enable user registration, but don't allow any of those users to login?

I want to use the user registration page to collect user data and use its email verification checking to filter out fake users. But the thing is I don't want these users to be able to login to the ...
1
vote
2answers
25 views

Why can my view not access the data of a new node when using Rules event After saving new content?

Using the Rules module and Drupal 7, I set up a rule "After saving new content of type X". This is what I want to happen when adding a new content of type "X": Based on its nid, call a view, ...
1
vote
1answer
37 views

User Roles keep getting reapplied

For whatever reason when I remove a role from a user's profile, at url site/user/user-id/edit it just comes back a few days later. I tried to check users_role table but I do not have that table. . We ...
1
vote
0answers
37 views

How do I enable and limit field permission to a specific user?

I have created a content type that contains 8 fields. Users can view the content as a table from search filter in views. The next step is that I would like to: Enable specific users of a ...
0
votes
0answers
24 views

Possible to share some but not all users?

I've shared my user table across three drupal installations successfully, but I want to know if there is a way to share some, but not all users? I would like the admins to be in a shared table, but ...