"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
25 views

How do I restrict access to forum? [on hold]

How do I give restrict access to forum? I am using the Content Access and the ACL modules, and they work fine for individual node/forum topic, but I need this for forum, as the Forum access module ...
0
votes
0answers
8 views

Getting 404 error when uploading files in a custom module, while logged in as normal user in D7

I'm on a D7 project. And created some roles. If i'm logged-in using admin then i can upload files on Site.But if i try other user role(which is normal user) then i got 404 error. How do i resolve this?...
0
votes
0answers
17 views

Hook menu alter fail to load menu items? but permission check succeed

I tried menu_alter hook and its working great with permission access denied or access granted, but I realise all the menu items associated with the wildcards are not showing when clicking on the menu ...
0
votes
1answer
32 views

URL specific form for anonymous user

I'd like to investigate if the following scenario is plausible somehow in Drupal 7: The creation of a public form (node form/webform or whatever) with many instances so that each instance can be ...
1
vote
1answer
15 views

IMCE browse server image upload button not displaying on ckeditor toolbar

I just installed and enabled IMCE for drupal 7 and assigned the IMCE icon in the full html input format page, but the icon is not appearing in the ckeditor toolbar. I even set the permissions for the ...
0
votes
0answers
24 views

Menu entry with _user_is_logged_in: 'FALSE' being ignored for Administrators

I would like create a custom Login link that only shows up when you are not logged in. However for users of the group Administrators it also shows up when the user is logged in. Similar a second link ...
1
vote
1answer
30 views

How can we display permissions to users?

Is there any way we can display user permissions (e.g. delete all nodes) to a user role inside a view? Permissions would be change-able with check-boxes.
5
votes
1answer
138 views
+200

How to check for entity access when displaying views fields?

I have a custom entity. There is an access callback defined in hook_entity_info() and it is called when I access the entity. Also in views when I select to display rendered entities, the entity is ...
1
vote
1answer
15 views

How to determine if user X has access to operation Y on node Z

How can I programatically determine whether a certain user has "view" (or any other operation) permission for a given node? I'm trying this, but it doesn't seem to be calling the node access hooks, ...
2
votes
1answer
16 views

Drupal Content Admins for specific Language

For a new Project with Drupal 7 we have 4 different languages: IT, AT, EN, SP and for each language an Content Admin. We need a solution that the Content Admin see only Nodes of his language for ...
0
votes
1answer
62 views

Update from 8.1.3 to 8.1.7 gives me a fatal error on most pages

After attempting to update to version 8.1.5 I received the "The website encountered an unexpected error. Please try again later." error on many pages. I also get the following error in Recent Log ...
3
votes
1answer
30 views

How to allow content tagging by anonymous users?

I have a site, where the main purpose is the involvement of the public in their history. However, we all know some just don't want to register for a user profile with websites. In our case, there are ...
0
votes
1answer
26 views

How to give permission for a role for editing help text for fields of custom types?

I want role "RoleFoo" to have only the permission to edit the Help Text of all fields of specific content types (contentypefoo1 and contentypefoo2). How to do this?
0
votes
1answer
13 views

Which table contains all of the module permission data?

I'm coming into an existing project and the previous developer totally messed up the site. There was a custom module made for a custom field and it shows up in the People > Permissions page. I cannot ...
0
votes
0answers
52 views

Recommended file permissions for Drupal 8

In continuation to https://www.drupal.org/node/244924 which is for Drupal 7, is there a script which sets the right permissions for Drupal 8. On the same lines I was thinking how can we take care of ...
3
votes
1answer
54 views

How do I allow regular non-admin users to view other users' emails?

Email is now an included field in core, but the stock email for users seems to be set to private; only users with administrator privileges or the user themselves can see. I'd like to allow other ...
0
votes
0answers
22 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
16 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
18 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
40 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,...
1
vote
1answer
18 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
9 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
21 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 ...
1
vote
1answer
44 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
0answers
13 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
63 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
25 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
186 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
8 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'
2
votes
1answer
25 views

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

I have an entity reference field (users) on a node in D8, 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
86 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
20 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
50 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
103 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
26 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
94 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
25 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
37 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
32 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
44 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
34 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
22 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
32 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
28 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
11 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
44 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 ( ...