"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

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
35 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
67 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
39 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
13 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
49 views

Show toboggan/denied page as a modal form

How do I show toboggan/denied as a Modal Forms popup? I'd like to keep my site consistent since I'm using a Modal Forms for a normal login and register page. Edit: I'm not trying to display a popup ...
1
vote
1answer
136 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
14 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
18 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
11 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
5 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
23 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
83 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
16 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
20 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
34 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
87 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
16 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
40 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
42 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
33 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 ...
0
votes
0answers
61 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
37 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
86 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
18 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
371 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
44 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
32 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?
0
votes
1answer
71 views

How to identify permissions which current user lacks to access node create page?

I have a user with custom role. This role has permission custom-type: create new content. When I try to access node/add/custom-type I am getting 403. Site is quite complex. What is the quickest way ...
0
votes
2answers
76 views

How do I make the content of one user not accessible to other

I have created separate dashboard for each student using login destination module. I am able to redirect the student to their profile page. There are some other pages (score card, attendence etc) ...
0
votes
0answers
168 views

Error :The referenced entity (node: 252287) is invalid.?

I have a node reference field (which is reference for node B) in a node A .When a user who does not have permissions for node B accesses the node A, the problem occurs when node A form is submitted it ...
0
votes
0answers
84 views

Replacing an .htaccess and .htgroups-based access control system

I'm new to Drupal and in the exploratory phase of rebooting our organization's static-html website with Drupal 7. Portions of our website are for 'members only' and can be viewed only by employees ...
0
votes
0answers
35 views

User Relationships how to show who its viewable by in posts

Drupal 7.x In regards to: User Relationship Module and User Relationships Node Access Module. I have the user Relationship Module installed and the extra addon module that it comes with "User ...
0
votes
1answer
34 views

Failed to disabled specific page

I'm creating an e-commerce using drupal. In this site I have several catalogs to distinguish between some products. Let's say I have url site_home/catalog/1 , site_home/catalog/2, ...
2
votes
2answers
169 views

How to restrict number of nodes per content type?

How can we restrict number of nodes allowed per content type. Let suppose if we allow 5 nodes then no one including the admin user can add the 6th node of that content type.
0
votes
1answer
107 views

Search API node access limitation

The Search API has a Node Access Data Access Alteration which adds info into the index which can be used to implement 'normal' drupal node access restrictions to searches. This was working fine until ...
4
votes
1answer
159 views

Cannot block access to nodes with hook_node_access_records

I have written a module which adds a node access record. The workflow module is also installed which adds two other records to the node_access table. Here Author says that: Drupal is a ...
0
votes
1answer
47 views

Unpublished Nodes and Content Access

I have a view that relies on a specific content type to display images. The Content Type has a Title, a File Field, and a checkbox for show or don't show. The default setting for all nodes created ...
4
votes
1answer
56 views

How to show a views count for nodes that ar not available to anonymous users

I made a view which displays a count for nodes in a nodetype. But anonymous users don't have access to nodes in that type. Those users should be able to view the count. Is there a way to achieve this? ...
4
votes
2answers
97 views

How can I restrict users to some parents node with node hierarchy?

I have the Node Hierarchy module on my Drupal installation, and I am using the following hierarchy: Main Navigation (menu) Art & Sciences Art Sciences Economy News World wide Other ...
0
votes
2answers
264 views

Make a view content only appear when user is logged in

In Drupal 7, I need to create a view of member-only nodes. They're all of a certain type. This type—and I've already set that up with role-based access control—can only be seen by logged in users. ...
2
votes
1answer
35 views

How to hide certain fields to a user if they aren't referenced in a field on the node?

I have a content type which has a full content and teaser display. It has a number of fields, and one of the fields on it is an Entity Reference field which references users (called ...
0
votes
2answers
628 views

How do I hide specific node fields to users not registerd to that specific node?

I am building a site with a course content type. Users can only view some of the course details (such as date, location and description) unless they are registered on the course. Once registered their ...
0
votes
1answer
22 views

Handle permission based on both person and role?

I am using workflow module for a publishing website. There are many people who have the role reviewer....The comapny want to enable that when you change state from 'in moderation' to 'in-review', we ...
1
vote
1answer
67 views

Hook_node_grants: how do I access a user account field?

Here is my implementation of hook_node_grants: /** * Implements hook_node_grants(). */ function gcac_node_grants($account, $op) { // Declare $user as having global scope. global $user; ...
-1
votes
1answer
25 views

Change to posting status from registers users to anonymous

I'm not a hard core Drupal programmer but I'm learning bits by bits by using services like this one. I'm building a question answer site and was wondering how do I make to where users can select to be ...
2
votes
1answer
79 views

Where is the documentation for the ACL module/api? [closed]

Has anyone successfully created a client module that controls node access via the ACL module? I installed this module and created my own UIs to populate the three tables: acl, acl_node and acl_user. I ...