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

learn more… | top users | synonyms

0
votes
1answer
13 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
14 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
23 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
35 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
26 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
15 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
28 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
10 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
40 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
24 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
28 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
26 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
101 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
47 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
25 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
37 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
38 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
66 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
128 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
19 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
31 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
113 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
169 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
70 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
28 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
163 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
227 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
40 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
25 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
31 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
379 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 ...
0
votes
1answer
18 views

Removing field from form

I just came across a solution regarding media module. It suggested that: replace all unset($form[$id]); to $form[$id] = array('#language' => NULL); in media_gallery.module This worked ...
0
votes
1answer
27 views

Check if viewing teaser in hook_node_access

Is there a simple way that I can forcibly allow everybody to view all teasers no matter what, overriding any other permissions set by Content Access, etc. I was thinking something like this: ...
0
votes
1answer
63 views

The link generated by a View's header (Global: Text area) is only visible for the admin role and I need it to show for other roles

I have the following code in the View's header (Global: Text area). <?php global $user; if (user_access('create page content', $user)) { $output = l(t('Publica un artículo nuevo'), ...
0
votes
0answers
31 views

Having a 'key code' to view a certain page

I am currently working on a eCommerce site that is running the latest version of Drupal and the Ubercart module. what I am trying to accomplish is when someone registers to my site they have a ...
0
votes
1answer
52 views

Is it possible to protect content types with captcha?

I would like to protect some pages of my Drupal 7 website with a riddler captcha, to protect those pages from all who can not solve the riddle, but don't make it necessary to login to see the content. ...
1
vote
1answer
321 views

How can I return a 404 error page in a node view?

How can I return a 404 error page when a non-registered user tries to see a node page of a specific content type? And of course, the registered users can see the node page normally.
0
votes
0answers
28 views

If using Flexi Access can the person with access to that page choose to share some of their content with a wider user group?

I am trying to determine if we deploy Flexi Access to provide members/users with the their personal private website can they select content and share it with all the users in their user group. The ...
0
votes
1answer
65 views

How to restrict particular user roles from Adding child pages to the particular books only.

I am using drupal 7. I want to restrict some users from adding book pages to the books. I have several books on my site and each book has different authors. As i have given add book pages access to ...
0
votes
0answers
19 views

When logging in to my Drupal site, smslivraddare.se to change the contact “box” I cannot change the contact details, how may I do that?

This is what it looks like when I press "edit view". Where do I change the actual text in the the contact box? It seems as if the text is predefined already as nod:brödtext (sorry for the Swedish), ...