Tagged Questions

"Node access" refers to the permissions given to users for viewing, editing, and updating nodes.

learn more… | top users | synonyms

0
votes
0answers
18 views

How to add node/add page into my view?

I am trying to build my own content administration page and I want to use default drupal node/add page (that one with list of content types available to user) inside view. So far I have made view ...
0
votes
0answers
14 views

drupal give access to unpublished nodes before render

In permission tab, I have set unpublished content not to be shown. So in teaser , only published deal is visible. But what if I have add a field named "duplicate, spam etc" and unpublish node and want ...
0
votes
0answers
5 views

Bypass hook_node_grants if user has permission

I have set up a module to restrict access to nodes based on a value in a users profile. On the node I have a taxonomy select called region and the same in the users profile. I am restricting access to ...
0
votes
0answers
6 views

Issue with content access and multilingual system

I have a multilingual website using English Arabic and French and 2 days ago i remarked that anytime when i clicked on node/add/* for the english section it return an access denied page , and that is ...
0
votes
0answers
22 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
11 views

How can i get rid of ' 403 Access Denied' error for SoundManager2 mp3 files, that are in the Downloads folder?

i have installed SoundManager2 to playback audio files but realized that anonymous users get a 403 Forbidden error when trying to play. These files are actually products. i attached to product type ...
0
votes
0answers
18 views

Display if there is more content available if you are logged in than if you are not

I am currently building a Drupal Website where I have to type of documents that can be presented as complements to an article. The first type is public access document and the second one is of ...
0
votes
0answers
15 views

Limit node creation; each course the user is registered for, fill out a form

Here's my situation: I want to have users register for courses (Course node). For each course they register for, they need to be able to fill out a form (Form node). If they have already filled this ...
2
votes
3answers
36 views

Is it possible to restrict access to anonymous user to specific content types based on the author?

I've been looking for a module that could support my requirement for hours now and failed. What I want to do is to restrict anonymous user to viewing content type pages based on a specific users. ...
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
0answers
20 views

How to skip render/print node if condition was done drupal 7

Im build a custom module for display a content dependence of location, my problem is in last step, how i can stop render node if its from defferant location ?, its maybe like view, if you selected ...
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
24 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
36 views

Problem with Profile2 and NodeAccess

We use Profile2 and Node Access but the profiles of users can't be show by everyone (access denied) since we have installed Node Access. The problem is the same with Content Access. Do you know how ...
0
votes
0answers
27 views

how to read all the nodes and its fields and display like table?

how to read all the nodes and its fields and display like table? I have node/content caled TravelInvoice Invoice Number Invoice Date Student Number Months Paid (List Field) - Apr to March some ...
0
votes
1answer
44 views

The content access permissions need to be rebuilt. Rebuild permissions?

My Drpal website asks "The content access permissions need to be rebuilt. Rebuild permissions" what is this means? Can I go for Reubuild Permission? Will it cause any problem for current ...
1
vote
0answers
12 views

Rules: Event: While editing an exisiting node

Okay based on couple of features I require to restrict/disable access to certain field based on other fields while editing the node. the problem is in Rules module, there's no "While editing an ...
0
votes
1answer
36 views

Add multiple co-authors while creating node

I have a content type proposal. Now I would like to have multiple co-authors of the node. I want to give the author the opportunity to add users like this: The users have to be entity references. I ...
0
votes
0answers
16 views

Turned off published node access for Anonymous users but require node on specified frontpage viewable

Is there a way to create a frontpage that is open but have all other node access turned off? Thanks
0
votes
0answers
15 views

Node access depending on view mode

Using a custom module, how can I allow access for one view mode (a custom one), but disallow for another. The node contains private files so I'm using the content access module to restrict access to ...
2
votes
2answers
41 views

Is there an efficient way to dermine whether a node can be viewed by all users?

I am trying to use the Drupal node access API to determine whether a node is subject to an access restriction. That is: I want to make sure that the node can be viewed by any authenticated user ...
0
votes
1answer
30 views

Node access to anonymous user

Is there any way to make some nodes accessible to anonymous users in drupal and rest of the nodes content accessible to only authenticated users . I have a site which offers questions for practice . I ...
0
votes
2answers
32 views

Page not found with new content

I just create a new content type and add a couple of nodes but I get 'The requested page could not be found.' message with anonymous users, apparently the nodes of this new content type require admin ...
0
votes
2answers
27 views

Result accessibility based on field value for specific group

Is there a way to hide nodes or results if it has field "restricted" type bool with value 1 if the logged in user not in admin group without writing custom code. i could do that with views hooks like ...
0
votes
2answers
29 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
3answers
116 views

Remove links from the menu tabs

How can I remove the some links from the Tab, when we are login as a particular user. Please see the below picture. I want to remove the tab Items maked in red rectangle (deny access to this link). ...
0
votes
2answers
61 views

Need to make Anonymous user create node through a Form but can't

I need to make anonymous user create a node through my site. The node which is create would be unpublished, which an admin can publish later. I wrote the following code which works perfectly but the ...
0
votes
0answers
35 views

Changing group visibility needs group content to be resaved when group content visibility field is set to “Use group defaults”

Drupal Commons 7.x-3.2 Organic Groups 7.x-2.1 Content type: Mygroup Field: Group visibility - value: Public Content type: Mypost Field: Group - default value: Mygroup Field: Group content visibility ...
0
votes
1answer
31 views

How to create a filter in views which only shows contents that current user can edit?

I set content access permission using nodeaccess_userreference module, I need a view to shows contents that user can change.
0
votes
1answer
31 views

Stop node being edited programatically

I have written a module that puts a "generate pdf" link on a node when it is viewed. What I now want to do is lock the original node after the pdf is generated. I know I could just add a "locked" ...
0
votes
1answer
45 views

Node access based on view mode

I have a content type with multiple fields. Some of the fields are accessible to everyone and there are other fields for which the access is controlled. Example: There is a content type called ...
0
votes
1answer
51 views

Lock editing on node except for Admin

I have a content type with a select field. When the selected value from that field is "Locked", I would like to lock editing on that node for all roles except admin (or other role I choose to be ...
0
votes
0answers
11 views

Deny Access module “DENY access per content type” UI missing

I am attempting to use "Deny Access" module for drupal 7. I am using Domain Access and Organic Groups, so I can't install any other access control modules. It really looks like the "Deny Access" ...
0
votes
0answers
73 views

Control node access on content type with field permissions

I'm straggling with a conflict for controlling permission access on node base and on field base. My use case is: I've a content type representing a learning project with a set of fields (Author, ...
1
vote
0answers
19 views

How do I give access provided user has at least one type of access granted?

I use Drupal 7. My module implements two types of access permissions, named: access MYMODULE foo access MYMODULE bar I want to grant a user access to a particular path (node/%node/MYMODULE) ...
0
votes
1answer
153 views

Restrict node for anonymous user programmatically

First of all I've seen lot's of threads about restriction, but didn't find what I'm looking for. So, my goal is to restrict the access for a specific node to anonymous users and when they try to ...
1
vote
0answers
21 views

Views not rendering domain-content

I have a strange thing going on here. I've a complex setup with Domain Access and Smartqueue Domain. I also have a view which filters the content to be shown depending on the Nodequeue status: It ...
0
votes
0answers
35 views

Securely deny direct access to nodes except when link on another node is clicked

I'm hoping there's a module for this. Let's say I have two nodes. First one is supposed to be a "gateway" to the second one with protected content on it. What I'm trying to do is make the protected ...
0
votes
1answer
143 views

Why do I get 'access denied' when viewing nodes?

I'm testing my website and I have to cope with a strange problem. Although every role has the permission "View published content", only the administrator can access nodes: anonymous users and ...
0
votes
2answers
209 views

Grant/restrict access according to node's author & moderation state

I'm trying to bypass some of the permissions set by Workbench Moderation, only under specific circumstances. For a specific content type, I need the users of a specific Role to be able to: - View all ...
-1
votes
2answers
74 views

How do I let users be able to view, update and delete their own content? [duplicate]

I want to let users view a list of their own content and also be able to edit or delete them same as "/admin/content" page. However, giving access to edit and delete their own content can be achieved ...
0
votes
1answer
36 views

Custom login block that redirects to password protected page that is not published otherwise

I realize that there are many ways and modules to accomplish this with, but this is the one particular way I need it and I'm having trouble finding a good solution. So here is what I'd like to ...
0
votes
0answers
181 views

Show access denied page as a modal form

How do I show login redirect page as a modal form or dialog popup? I'd like to keep my site consistent since I'm using Modal Forms for login and register pages. I'm not trying to display a popup ...
1
vote
1answer
252 views

Horrible permissions bug, anonymous users can edit products

I have a Drupal Commerce site. I'm using Content Access to only allow users with the role "Vendor" to "Edit own product." Nobody else is allowed to edit any products. This is the only module I'm using ...
0
votes
0answers
47 views

Control view/edit/delete permissions for unpublished nodes?

There's a functionality gap in node-access contrib modules it seems. You can use Content Access to control view, edit, delete operations on a specific node or content type on a per-role basis. ...
1
vote
1answer
28 views

How to allow user to restrict post (node/comment) to their own user role on post page with an option

What I would like is to offer users an option on all post/comment posting to limit access to their own user role group, essentially making the conversation private with the members of their own year ...
0
votes
1answer
15 views

Limit access to subsite

I googled for it but couldn't find anything about that. Is it possible to create drupal website (example.com) with subsites (example.com/subsite1 and example.com/subsite2) where access to them are ...
0
votes
0answers
7 views

Check access in og group subpage

I am trying to work around a seemingly easy problem(wasted 5-6h). I am trying to restrict access in a og group page with the url http://mysite.com/group/%/users. I want to make the users of the group ...
1
vote
1answer
33 views

access denied preferred over no view

How can I make it so roles that are denied access to a page can still see overview of page i.e. title and description but get an access denied message if not granted access? I have tried different ...
0
votes
1answer
442 views

Getting “Access denied for user anonymous” when calling a CRUD function

I configured a REST service with the Services module and created a custom service with the CRUD + index functions. If I call the index function like so localhost/drupal/blog/note, it gives me the ...