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

learn more… | top users | synonyms

0
votes
1answer
14 views

Block Node Access After A Certain Amount of Views

I've come across a client requirement in Drupal that is very new to me. The website is subscriber based, so users pay to subscribe at which point they are granted a subscriber role. They then have ...
0
votes
1answer
32 views

how to delete a node programitically in drupal 6?

I want to add delete permission for a specific node id programitically. I try calling 'node_delete' but it doesn't work. how can I do it ?
0
votes
0answers
28 views

node_access() returns FALSE but I can view the node

I got a view which gets rendered to a variable which then gets mailed to the user. A few days ago, I noticed that this functionality is broken (empty mails) and that for the administrator users ...
1
vote
0answers
18 views

Role wise editing and delete permissions on a node

I have a drupal7 site and I need to implement this functionality into the site. I have two user roles(private and public), if a user of public role creates a node then all the users of public role ...
1
vote
1answer
25 views

How Do I Create a User Role that Can Only CRUD a Single Content-type?

OK, so I know how to create roles and messed around with the People->Permissions->Roles screen. My goal is to create a single user role that will have only one function -- to administer the calendar ...
0
votes
1answer
16 views

'Unlinking' a link for users without permission

I have a link which goes to a page created by a custom module. The module implements hook_permission and hook_menu so that when a user without permission clicks the link they get sent to the page and ...
2
votes
1answer
38 views

What is node_access table?

For granular node access, TAC, TAC lite, Content Access or ACL can be used, But because of some technical limitation and issues, I can not use them. While implementing the node access part of my ...
1
vote
1answer
15 views

node access restrict ( Drupal 6 )

We have around 150 nodes of type "X". We want to show only 20 nodes out of that for all the users ( including anonymous ) except users having role "Y". For users with role "Y" will be able to see all ...
0
votes
2answers
41 views

How could I create multiple private sites within one Druapl site?

Can I create a Drupal site, where a user, let's call her Jane, can create an account and publish some content, like a few articles. Then create accounts for her friends who can login and view all the ...
0
votes
1answer
36 views

How can I allow users to create private pages?

I want a way to create a way to allow only specific users to see a specific page. One page per user where one user can't see another's page.
1
vote
1answer
33 views

Cron job and Access Denied function

I have a custom module which implements hook_node_view() and checks certain conditions to decide whether a user can view the content or not. The code snippet is: if( ! user_is_logged_in() && ...
0
votes
0answers
44 views

Access denied as session ID changes in session cookie and in new rows in sessions table

Over the last month or so, several (but not all) of my wife's Drupal 6 websites have been giving "Access denied" errors. On one, the login bar at the top of the webpage is re-prompting for logins ...
1
vote
1answer
14 views

How to delete a Grant by GID

Typically grants are deleted by $nid whenever new grants are added. In fact this function is baked into node_access_write_grants() (when $delete = TRUE). I have been using custom GID's to represent ...
0
votes
1answer
23 views

Permit user roles to see node (not via view) based on a taxonomy

I have some content type with a term reference field (think a magazine site where news are linked to a category). I must block the node view for a user role, but I don't want to set this access for ...
1
vote
2answers
65 views

Password protection for section of a drupal website

I am planning out a Drupal website, and it will have a password protected section. All users will need a username and password to access content, but client wants to issue passwords by company ...
0
votes
2answers
55 views

Showing unpublished content to the anonymous creator

I am working on a Drupal 7 module called Anonymous Publishing. In brief: It lets the anonymous user create posts. The anonymous user create contents using the standard content creation node_form. ...
0
votes
1answer
19 views

More Node Access Product (nap.module) Problems

I have a client who cannot launch his website because of continuing problems with the Node access product module. After a customer makes a purchase, they are prompted to login. Upon attempting to ...
1
vote
3answers
62 views

“basic page” content type: how would I restrict access to a page for only 1 role

If I created content that is of "basic page" content type that is mapped to a URL path settings as an alias how would I restrict access to that page to only 1 role? If the user is not logged on ...
0
votes
1answer
47 views

How do I access the Node Access User Reference configuration?

I've installed the References and Node Access User Reference modules on my Drupal 7 system. I've added a User Reference field to a content type, and can happily add user references to nodes. ...
0
votes
0answers
17 views

Can calls to node_grants be restricted to specific node types?

This is related to another post -- How to deal with exploding node_access queries? -- but at a rather different level of abstraction as a result of a bit more thinking: Restating my real problem (see ...
0
votes
1answer
26 views

How to deal with exploding node_access queries?

I'm working on a pretty complex workflow site, which has a number of interlocking levels of components (content types, really). To summarize and simplify a bit: Users can create Companies. ...
1
vote
1answer
45 views

Views - user/role has access to edit node

I'm trying to set a view that shows only the nodes that current user or role has access to edit. I've tried with contextual filters and relationships but with no luck. Anyone know how to restrict it? ...
0
votes
2answers
44 views

Node Access Product Module (nap) - Really embarrassing error message

I have built an Ubercart site, using the Node Access Product module, that sells only two products, one of which is access to a single node. Everything works correctly, but after the customer makes a ...
0
votes
1answer
14 views

What's a good access module for a state-level organization?

I'm setting up a new website for the Maine Grand Chapter of the Order of the Eastern Star. My goal is to allow each chapter to access their own chapter's node (and nobody else's) and modify the ...
1
vote
0answers
30 views

How to load node bypassing domain access?

I'm using the Domain Access module. One of its features is the 'Domain access option', which lets you can specify witch node is publish where. I wrote drush script and I'm trying to load bunch of ...
0
votes
2answers
52 views

Add access code per page

I need to create 10 or so pages that are linked in a specific order but can only be accessible when the user enters the correct access code. The first page would be open and "unlocked" - but the user ...
0
votes
2answers
33 views

Content access based on on the field reference

I want to make a content access ( node ) based on it's user reference field . ie: While i'm creating a node that have a user reference field, i want that it will be accessible just for the users that ...
0
votes
0answers
60 views

Help using hook_node_access

I'm trying to use hook_node_access in my custom module to do the following: I have a lot of nodes (of type 'order') with a field called customer (1, 2, 3, 4) and there are users who also have a ...
0
votes
1answer
85 views

Node Access permission for anonymous users

The website is set Only login users can access. but There are times a node maybe allow an anonymous user to access by sending the user the URL for the node. I try to use the Content_Access module to ...
0
votes
0answers
34 views

Advanced Node Access

I use Drupal Commerce to allow resellers on my site to add they product. For creating a ticketing system between the reseller and the customer after purchasing a product by the customer, i have used ...
3
votes
1answer
99 views

Permission to edit own unpublished content (only)?

I have a content type Poll with an unpublished option. When a user creates a poll the poll remains unpublished for 1 hour and after that it becomes published (done with rules). What i want to ...
0
votes
2answers
55 views

Restrict content access by term reference in profile

What I would like to accomplish is to have the following. Please let me know if anyone is aware of modules that can accomplish this already or what direction I should take developmentally to ...
1
vote
2answers
40 views

Author only access to tab menu of node

I have created one menu tab in the node page to show statistics of the article using my custom module. I have implemented hook_menu() as follows: function mymodule_menu() { $items = array(); ...
2
votes
0answers
40 views

Node accessibility vs node visibility

I am still a newbie in Drupal. At the moment I am beginning to control node accessibility using node_access, node_grants and node_access_records. The problem I have though is how do I control the ...
0
votes
0answers
54 views

Content Access Drupal 6.28 - Doesn't work

We have a website which has 4 users type (excluding anonymous and authenticated). When we created a node today after we updated the version 6.28, the page access options of that content was restricted ...
0
votes
0answers
111 views

Using Rules and Content access to restrict node access after date

The Goal I am working on a way to shut off access to all nodes of a given type by setting their Content Access permissions to off, after a certain date has passed (and presuming that their access ...
1
vote
2answers
31 views

Debuging OG access field

I have few roles in OG groups: Visitor, Reviewer, Member, ... Visitor and Reviewer are added roles with (at the moment) exactly the same settings. Unfortunately somehow Visitor is inheriting Member's ...
0
votes
1answer
31 views

Restrict a users node posting total dependent on a paid subscription role

I am interested in how one would restrict a users node posting total dependent on a paid subscription role. For example, there maybe 3 subscription roles which allow different Node posting for a user ...
0
votes
0answers
38 views

Authenticated user not allowed to add certain content, seen as anonymous in log report

I have a site with around 100 users, and when some of them try to add a content type allowed by permissions, it says 'access denied', there is no toolbar at the top of the page, and on the log reports ...
0
votes
1answer
45 views

Access denied messaging and behavior

Currently my users are being redirected to a node after trying to first access that node's comment page (comment/reply/nid) via a link in a view. This is because I've set it so you have to be logged ...
0
votes
0answers
53 views

Views to display nodes based on ACL permission

I'm trying to use Flexiaccess with ACL to build a view based on node that the user has access granted by Flexiaccess. I found this on Drupal.org, it's the same use case, but is not working for me ...
1
vote
1answer
55 views

Why is hook_node_access($node, $op, $account) called with $op equal to “create”?

I am using the function mymodule_node_access($node, $op, $account) to intercept the operation of creating a new node type "article" by the user Advertiser. I created a new user "Advertiser" The new ...
0
votes
0answers
20 views

Organic groups: membership in all groups

I am using organic groups. The site has about 120 000 registered users and several thousand groups. 1) I wonder if there's a way to make certain users see and access all the groups without actual ...
0
votes
1answer
133 views

hook_node_access not working

I am trying to use hook_node_access to change some permissions when viewing a node type. The problem is that even when I call it in my module, it doesn't work. function ...
0
votes
0answers
29 views

How to creating custom access control for nodes and files

I basically have a bunch of nodes (pages) with associated private files, which only visitors that fill out a form and check a checkbox, indicating the accept terms and agreements, can access. Is ...
0
votes
1answer
28 views

Does DrupalWebTestCase::drupalGet() use the permissions of DrupalWebTestCase::$loggedInUser?

I'm trying to test the permissions of a particular role, and this code: $this->drupalLogin($this->editor_user); $this->drupalGet($node->path['source']); returns a 200 (OK) status, when ...
1
vote
1answer
170 views

Custom field: users organized into departments

I'm building an intranet corporate site, and need to have users linked to departments. The easy way I see this to be done is to create a taxonomy vocabulary with list of departments, and then add ...
1
vote
2answers
72 views

Allow comments only for author of the node and certain role

I'm using Drupal 7. It is possible to disable the comment form for a specific node type for authenticated users? What hooks should I use if I want to allow only the author of the node and the ...
0
votes
0answers
40 views

Accessing unpublished group content

I am using organic groups and I want the owner/reviewer of the group to be able to access an unpublished group content created by members of the group. I know I can give "View any unpublished ...
2
votes
1answer
40 views

Allow node author to assign edit rights for other users

Use case: user X creates a node and wants to give user Y the ability to edit the node as well. Think page administrators on Facebook. An Entity Reference field can be used to allow the node author to ...

1 2 3 4