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

learn more… | top users | synonyms

0
votes
0answers
11 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
3 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
35 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
18 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
23 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
26 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
22 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
85 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
39 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
13 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
0answers
19 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
27 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
22 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
24 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
9 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
50 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
16 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
84 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
17 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
25 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
88 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
141 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
61 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
21 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
146 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
207 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
31 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
23 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
29 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
290 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
17 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
24 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
53 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
29 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
46 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
239 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
57 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), ...
0
votes
0answers
61 views

Node hierarchy and content Access

I am using node hierarchy module to manage content and Content Access module to manage permission per node basis. Taxonomy access module cannot work as child nodes are not linking to any taxonomy. It ...
0
votes
2answers
45 views

Access node only from manual URL

Looking for a module or hint to allow a node only be accessed from the manually set URL. Ex. having node 42 with URL path setting = myStory can only be accesed with http://host/myStory, while ...
1
vote
0answers
91 views

What's the difference between “rebuild links” and what cron does in xmlsitemap?

Kind of a newbie question about the XML Sitemap module, I suppose... I've got the module installed, and it's running, with the "XML sitemap node" module also installed and activated. It's working, ...
0
votes
1answer
61 views

webform submission details not getting displayed

i have multiple nodes each per language and the default is English(node/1). For french node(node/2) after submitting the details of the contact form, the details not getting displayed in ...
0
votes
1answer
205 views

Access Node in html.tpl.php in Drupal 7

I am trying to access the current $node variables in the html.tpl.php within Drupal 7. The problem is that I am running a Analytics software in the backend for which I've to record each page's ...
0
votes
0answers
26 views

How to assign a specific workspace to a user role?

Some background: I am programmatically generating node data and assigning it to users. This data is based on user input from the location module. A single user can input multiple locations, which ...
0
votes
1answer
630 views

Access denied for admin user after new drupal 6 install

I just installed Drupal 6 (Don't ask why) from a fresh install (Version 6.29). I followed the install steps, created an admin user, set the correct time zone, etc. But when I login and attempt to ...
1
vote
0answers
57 views

How to configure an editorial role with viewer-only unpublished node revision access in Workbench

I need to declare an editorial reviewer-type role that: will have access to view unpublished content, and does not have node edit permissions to the content types which the role does have the above ...
0
votes
1answer
35 views

How can I run a query in the views in the context of the user access?

How can I run a query in the views in the context of the user? E.g. using EntityFieldQuery I can run $query->addMetaData('account', user_load(1)); is there any equivalent for $view->query?