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

learn more… | top users | synonyms

0
votes
1answer
31 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
27 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
24 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
15 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
13 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
40 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
35 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
32 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
35 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
13 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
62 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. ...

1 2 3 4 5 12
15 30 50 per page