Linked Questions

8
votes
5answers
8k views

How to restrict access to some nodes based on roles or users?

I am using Drupal 8 and I am a little bit confused that there is no core functionality to restrict the access to some nodes based on roles or users. I found PageAccess, which is marked as unsecure ...
9
votes
4answers
2k views

Is there a way to avoid anonymous user can see a node of a specific content type?

Is there a way to avoid anonymous users can see nodes of a content type, like a block or a view? I can control the access with a view, but if I know the link for a node, I can see it without first ...
8
votes
2answers
5k views

What are the features of the Group module versus Organic Group module?

To create groups in Drupal we have at this moment the Group module and the Organic Groups module. From the Group module page: The Group module allows you to create arbitrary collections of your ...
4
votes
1answer
5k views

How to restrict access to specific content types by role? [duplicate]

In D8 core you can either set permission for anonymous users to view all or non publish content, but not set permission different by content type. I've found this that looked promising, but the ...
3
votes
1answer
2k views

Group module with advanced permissions based on taxonomy (preferrably) [closed]

I have a hard time figuring out which Drupal module to use for groups. There are quite a lot of options for Drupal 8 that provide useful functionality. So far I have looked (at various points in time) ...
2
votes
2answers
2k views

How to give anonymous users access to only certain nodes?

I am trying to implement the following: Anonymous users are not allowed to view all nodes but only certain nodes. I am using tac lite (https://www.drupal.org/project/tac_lite) to make this happen. ...
4
votes
2answers
106 views

How to limit access to content for which the Content Access module doesn't limit access?

I run a small business, and have created a website in Drupal 8 (should have used 7, bit late now, oooops). Part of the website is designed to be behind a subscription, which I've got working and ...
1
vote
3answers
1k views

How to implement user enrollment or subscription?

I want to create a website with few courses in it. Each course will have a node of content type Course. I want users to be able to enter the course. So this is sort of a "many-to-many" relationship ...
1
vote
1answer
1k views

How to build a simple blog where content could be published securely to user groups?

I am developing a PHP application and want to host a blog to communicate with my alpha, beta, and (hopefully) other users. I have some experience with Drupal, so am planning to put it to use. I ...
1
vote
1answer
498 views

Add user permission to content node

I'm creating a collection manager for movies and books in Drupal 8. Now I have a content type called "collection" and one that is called "Movie". The collection is just a collection of different ...
1
vote
2answers
234 views

How can I set up Drupal so people can collaborate on content development prior to making it public

I have a small website which, from a modules perspective, I want to keep as simple as possible. Apart from displaying content, a main purpose of the site is to facilitate collaborative authoring and ...
3
votes
1answer
493 views

How to configure access to courses for teachers and students?

In my site I have teachers and students. The student can subscribe to max 3 courses. I created cTypes: Modules (which contains the actual information itself) and Course (which contains a reference ...
2
votes
2answers
152 views

How to assign roles to grant permissions to update particular pages?

I have a menu like Publications, About us , Services and i want to assign a roles to the users like one user can update the content of about us and other can services means need to give permission for ...
1
vote
3answers
371 views

Allow role to edit node with same taxonomy term

I would like to allow a user to edit some node that have the same taxonomy term. I created a taxonomy for enterprise and I referenced it in a field of user profile. I used this taxonomy in a content ...
2
votes
1answer
269 views

Node access control based on users at the node edit page

I want to ask is it possible to assign customized roles to particular users at the node edit page? For example, the node author/admin can assign "editor" role to user A & user B and assign "admin" ...
1
vote
1answer
243 views

How to implement something like OG which the groups can manage on their own?

I'm building a learning tracking site for a community where Mentors will match up with Mentees. I'd like them to create either an organic group or a paired relationship to share content (seen only by ...
1
vote
1answer
253 views

How to restrict group node access to a user/member of an group?

I am using the Group module and I have created a group called "Group-Y" and group type "Group-type-Y". I also defined a group role name "Admin". Added an member with role "Admin". I have checked this ...
2
votes
2answers
112 views

How to properly restrict node access (including update/delete) based on field value?

I have following requirements: Users have (among others) role "tier1", "tier2" or "tier3". Higher value means more permissions and anonymous users are considered "tier0". Users from tier2 and tier3 ...
1
vote
1answer
231 views

Restricting “view content” to members of a group

I would like to make a site with content that anonymous users can read, and private content that only group members can read. How do I achieve this? I have installed Group, but any group content I ...
3
votes
2answers
128 views

Views - Protect user-assigned content from direct url access

I'd like to create a restricted area from scratch using views. What I'd like to achieve: The admin creates a photo album and assigns it to a photographer A photographer is able to log into the site, ...
1
vote
1answer
164 views

How to create access permissions system similar to Organic Groups access, using Eck entities

There currently still is not a working version for Organic Groups access control, compatible with ECK entities. My current site contains entity type project and entity type project content. The ...
1
vote
2answers
98 views

Display content by specific groups of users

Is it possible to display content by a group of authors without using a group module? I like the group module, but it's much more complex and robust than what I need it for. Synopsis: We need to ...
2
votes
2answers
80 views

How to allow each company section to manage their own content on the Intranet?

I have a simple problem of permissions. I work in a company which is divided into different sections. I have to make a Drupal intranet for them. Each section must be able to manage their own content ...
2
votes
2answers
78 views

How do Organic groups and virtual sites relate to each other?

I just want to know that a site which is built in Openscholar, a LMS for Drupal. Therefore, how organic group is tied up with virtual sites? Also I want to know the the Views module's role in such ...
1
vote
1answer
164 views

Views and node_access

I have a D7 installation with about 2k "project" nodes, which have a multi-entry field "team members" used to control view and edit access. So far, I have my (pretty complex) logic inside node_access,...
2
votes
1answer
141 views

Site structure taxonomy configuration

I am looking forward to use Drupal in order to create a knowledge-base website having a structure as shown below. Therefore, each time a knowledge area is selected, Drupal should automatically filter ...
3
votes
1answer
85 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: A ...
1
vote
1answer
132 views

Multi-site vs Large Single site for Intranet [closed]

Whenever I look at "Should I use Multi-site?", it always seems to depend on the use case. (I am using Drupal 7) I have been developing a company's Intranet on a single Drupal install and it is ...
2
votes
2answers
78 views

Alternative to the need for dozens of roles to access special materials

My organization wants to create access to specific resources and materials based on a role, but the issue is that there is the potential for dozens of such roles, each granting access to specific ...
1
vote
1answer
116 views

How to publish in an organization with hierarchy?

My Drupal experience is limited to a single site with custom content types and standard roles. Please take a look at the use case below, involving content being routed through multiple organizational ...
1
vote
2answers
67 views

Overload permissions for specifics users

On my website, I have users with classic roles, but I want to add the possibility to assign permissions to specifics users. For example, a user has a role that doesn't allow the user to create ...
3
votes
1answer
65 views

How to assign content to user for manage turns?

I need to create a system to assign turns to a people register in the site, for this need contemplate: The administer assign turn to user in specified place.ex(turn 1, place 1, user 1) There are two ...
1
vote
2answers
77 views

How to do user relations, and User editing only their content?

Doing Drupal 8.6 is hard (I come from Laravel and Wordpress world). I manage to do by myself OAuth token authentication with Vue, but I stopped on User relations and content-type. I know that where ...
2
votes
2answers
38 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 ...
1
vote
1answer
59 views

How can I assign a database for each user?

I am new to Drupal and facing problems. I want to assign a database for each user where user can edit, delete or make entry to their database table. For example I want to develop a database ...
2
votes
1answer
33 views

Should I create a role for every user?

On Drupal 7 I have tested many modules, because I simply want in the user view some fields which are public and others can only see friends (user relationship or flag friend, ...). would be nice if I ...
0
votes
1answer
33 views

Is it possible to have common content for several users?

For example, sometimes there is a situation when several project's users need to work with common content not using one account for them. That is, each member of the group has his own account with ...
3
votes
1answer
38 views

How to make user's access to nodes depend on the year a node relates to?

User profile is organizer of this year boat show. After registering, user can create basic pages with main photo and basic text. Afterwards, user is given another role through rules, so he can not by ...
1
vote
2answers
56 views

Roster Views with User data plus office content type

I'm creating a site that is an intranet portal for a company. All the users will be employees that work in different offices. I am adding several fields to the users to be used within the roster ...
2
votes
1answer
33 views

Allow editing of user content by account creator

I have to create a set of user roles and permissions for sets of teams. Users with a "coordinator" role would be able to create and manage a set of subordinate accounts. The 'coordinator' role ...
1
vote
2answers
42 views

Different roles create different amounts of a specific content type

I'm building a job directory where users are allowed to register (selecting a membership type) and create Companies and Jobs. A membership can be Simple, Business or Premium. The membership type is ...
1
vote
1answer
53 views

How to define profile types per group type in the Group module?

I am working on a site where I am just starting to work with the Drupal 7 version of the Group module. The groups and roles stuff is fine but can I define a profile type per group type? eg. Group ...
1
vote
1answer
53 views

How to organise content using public, private and semi-private groups?

I'm building a community website with Drupal Commons and I need to be able to create 3 kinds of groups: public groups : anyone can view content, group members only can post/edit/delete content ...
1
vote
1answer
29 views

How to Create Membership Groups for Products?

I'm exploring if the latest release of Drupal Commerce (using Commerce Kickstart 7x-2.38) will work for my Apparel eCommerce requirements. We need membership to groups (which will be corporate ...
0
votes
1answer
22 views

How to implement something to differentiate nodes?

I wonder how I could implement something in my Drupal site where nodes can be different and managed separately. For example, in my site I want to add to nodes as shops, and every vendor must manage ...
1
vote
1answer
28 views

role and permission [closed]

I want to create a new role and give that to some permissions but not for drupal access, it for my website to access some of things in drupalwebsite. Like student/parent/teacher/alumni etc.is this ...
1
vote
1answer
27 views

Allow a user to manage his/her own users and be able to assign roles

I need to give access to a specific user with a specific role to be able to give the user role but not the administrator My case is that the website I'm building needs different kinds of admins and ...