"User permissions" refers to the permissions defined by modules to allow users to do specific actions defined from modules. It is different from "file permissions," which are the access permissions users have for files in a file system.
3
votes
1answer
20 views
Allow only specific users to add, edit the comment
I am using Drupal 7.
I am using access control list module to manage the edit, update and delete permission to specific users. And it is working perfectly.
Now i want the same feature for the ...
1
vote
1answer
14 views
Function to get all the user permissions
Is there a Drupal 7 function that lists all the user permissions defined from enabled modules?
What I need for a module I am implementing is getting all the permissions and adding to each one a ...
0
votes
0answers
8 views
Not able to access subuser with normal user
After installing the Subuser module for drupal 7 (the patched version, because the alpha didnt really work)
a regular user can`t access the sub users profile page.. (a user registered by other user ...
0
votes
1answer
18 views
Why would a new user role have default permissions that are greyed out and cannot be changed?
I recently installed a new role for the LoginToBoggan module for pre-authentication, aptly named 'pre-authenticated.'
However, this user has has all the default permissions of an authenticated user, ...
0
votes
1answer
18 views
Control content access based on field value in user profile?
I have two specific user types on my website: "Manager" and "Employee". I will have ten managers and 100 employees. Each Manager will manage 10 employees.
Employees will have permissions to create ...
0
votes
1answer
25 views
How to add new roles in drupal 7?
Drupal by defaults gives us three roles
Administrator
Authenticated users
Anonymous user
Can i add a new roles in it? Like:
suscriber
trusted customer
0
votes
1answer
29 views
how to show a panel node only to authenticated users?
i am using panel nodes to display profile pages such as my profile page on facebook . i have created a menu link for it . When i logout my profile link still shows. I want that only the logged in user ...
0
votes
2answers
39 views
$user->uid is false even when logged in
I have this code:
global $user;
if (!$user->uid) {
drupal_set_message("You must log in to view this content.");
drupal_goto('node/153', array('query'=>drupal_get_destination()));
}
...
0
votes
0answers
22 views
Create, edit and delete own permissions are not working on content type for different users (Drupal 7)
I want to set create own, edit own and delete own permission over content type to personalize it. In content type I have link field, with the help of that I can add link url and title which comes up ...
0
votes
0answers
32 views
Role Hierarchy and Management of Assigned Users
I need to set up a role hierarchy like this:
Super Admin - Full permissions, can manage all users and content
Regional Manager - can manage only his/her own Store Managers;
cannot manage another ...
0
votes
0answers
25 views
Only admin can see products page for Drupal Commerce
I created a subscription product with Drupal Commerce and commerce_sp modules. I then created a view to display the product subscription I want and as Administrator I can see the product on the ...
0
votes
0answers
28 views
How to give users access to their node stats
What is the best approach/module to give each user statistics about nodes they own ?
0
votes
1answer
34 views
how to put permission to only paid users can print something in my drupal site
Guys i have a drupal site which i plan on putting a print pdf function to its contents. How do i manage this so that only paid users can print the pdf?
1
vote
2answers
79 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
0answers
26 views
Custom role: adding a new node results page not directing properly
Current roles I have:
...., authenticated user, student, staff, admin, ...
I create a new content type and only staff & site admin (i.e. I only check permission for staff & site admin. Other ...
0
votes
1answer
58 views
Finding out what file was called immediately before error
I'm getting the following errors in dblog whenever I look at a page:
Notice: Undefined offset: 0 in _menu_check_access() (line 635 of /home/mysite/public_html/includes/menu.inc).
Notice: Undefined ...
0
votes
0answers
19 views
How can I build a menu with administration permissions?
I want to build a navigation with different primary links on Drupal 7. At the second level different administrators should be able to add or edit nodes - but only in their own section.
- area 1
- ...
1
vote
4answers
80 views
How to assign block access programmatically?
I have created a block programmatically but I don't know how one goes about assigning role access to it programmatically. Any ideas how this is done? I am using Drupal 7 by the way.
Thanks.
0
votes
3answers
79 views
Let anonymous view dpm()
I need to debug a D7 site from the anonymous user. What settings need to be changed to allow anonymous to view dsm(), dpm(), krumo(), etc. commands?
Note: I have already enabled Access developer ...
0
votes
2answers
32 views
How to stop infinite loop on hook_node_grants
I am using hook_node_grants to provide access to a realm based on whether someone is an 'owner' of a node. The issue is that menu_get_object() may call hook_node_grants recursively.
function ...
1
vote
2answers
67 views
Programmatically Filter Node Access beyond permissions, views, etc
Short Version:
What would you say is the best way to filter how nodes appear (in a binary sense: published vs. hidden) to users based off of a dynamic value? This solution is beyond the scope of ...
1
vote
0answers
24 views
How to find which user permissions are necessary to access a page
I created a custom content type, which has a custom block on it.
When accessing that page, i get an "Access denied" error.
I have no idea which permissions is throwing this.
Does anyone have an idea ...
1
vote
0answers
14 views
Settings for users on a new node or block
I want that users be able to configure some settings on the site for different tasks as shown below.
[Checkbox] Recieve updates from site
[Checkbox] Notify by mail when i get userpoints //user points
...
4
votes
4answers
150 views
Delete/ Deactivate account in a separate block
I want the authenticated users on my site to be able to delete their own account or temporarily block/de-active. I give the necessary permissions for this. Well and good for now. However, the tricky ...
1
vote
0answers
38 views
User Role cannot create Organic Groups content without having Administer permissions to OG
I am using Organic Groups on a Drupal 7 website. I created a Group Content type and a few user roles. The user roles are defined in the Drupal roles (and not OG roles).
I want to make sure that a ...
0
votes
0answers
25 views
How to restrict user access from all the paths except one?
Suppose you get users from an external service. In the case where the user is locked or has temporary password in the Service, I redirect the user to a change-password page in Drupal and assign to him ...
1
vote
1answer
38 views
new content type permission
I created a content type called: Spreed Sheets. Then in /admin/people/permissions I make sure I checked these 3 permissions for authenticated users :
Spreed Sheets: Create new content
Spreed ...
0
votes
2answers
81 views
Programmatically alter user permissions
The current state of the site, is configured such that authenticated members, can post specific content types and comment on everything.
What was asked of me, was the restriction of users having ...
0
votes
2answers
21 views
Limiting Views diplays to a role — two displays are stuck together
I have a View with two displays, one for role1 and one for role2. When I set the access control for the first display to role1 and save the View, then set the access control for the second display to ...
0
votes
0answers
9 views
No background shown for customer role creating customer content type (Mayo theme, CKEditor)
I have created a new role on a website, but when that role creates new content, they get the default background of the website (brownish) in the content area and not the white background the content ...
0
votes
1answer
26 views
logged in users only for /user in user menu
In my user menu I have a link for /user which produces a my account link which works as expected. In the menu admin (logged in users only) appears next to it.
Now, when I translate the item to ...
0
votes
1answer
32 views
Edit tab available to anonymous user on some but not all pages?
On a Drupal 6 site that I've inherited, there is a custom content type for staff profiles. Editing should be limited to two user roles "content creator" and "careers." This has worked fine for the ...
1
vote
1answer
211 views
How to add Admin approval on webform submitted data in drupal 7
I have the functionality that when any anonymous user submits a webform, then I display the submitted webform data in my new page, but I need admin approval before that submitted data displays on ...
0
votes
1answer
33 views
How to Hide Specific Pages to Anonymous Users
I need to be able to block the user's URL to be seen by anonymous users. Specifically:
http://www.mysite.com/users/user_name and http://www.mysite.com/user (which are the same page but different ...
0
votes
0answers
21 views
OG create content issue
I need some help for an issue I don't understand.
Firstly my configuration :
OG forum D7 7.x-2.0-alpha1
OG 7.x-2.0 - Drupal 7.17
ACL 7.x-1.0
Forum access 7.x-1.2
Then the ...
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
27 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.
...
0
votes
0answers
34 views
Drupal 7 Permissions/field access problem on printed fields
I have a strange problem with file permissions. Whenever a field is printed that accesses an image in the sites/default/files folder, only Administrators can view it. I have these types of fields ...
0
votes
2answers
68 views
Can't edit permissions
Drupal 7.21
For some reason I can't edit/add permissions for certain content to ANY roles anymore.
I first noticed this with one role and that had certain permissions missing.
Added the missing ...
0
votes
0answers
153 views
Drupal 7: how to show the main menu to anonymous users?
I've installed drupal 7 with cartaro (its shares its login system with geoserver).
I created some pages and book entries: I choosed to display some pages in the main menu (I clicked on 'provide a ...
-1
votes
1answer
43 views
Allows authenticated users to tag content
Administrator can add tags/Term reference to any content types.
How can I give permission to authenticated users so that they can tag on any content type where they have access for editing/adding?
0
votes
3answers
68 views
Drupal equivalent of wget (with permissions)?
I'm working on a drupal 6 module and need a way to save a static html version of a node to the server, using the user's permissions. Basically I need the equivalent of "wget -O out.htm ...
0
votes
2answers
34 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
1answer
47 views
How do I get fields attached to a user to display to anonymous viewers?
I've searched around and either I don't find any questions that address my issue per se, or the solutions offered don't pertain/affect my problem. So here goes:
A D7 site, current core, etc.
I have ...
0
votes
1answer
51 views
drush perm-grant gives “The drush command 'perm-grant' could not be found”
I am using drush -u 15 perm-grant --roles="site administrator" but the command returns:
The drush command 'perm-grant' could not be found.
any ideas about that? according this documentation the ...
0
votes
2answers
52 views
Unable to create content
I created a test account and added it to a numer of roles. Some of those roles (not all) have permissions to create content. I am unable to create or edit any content, but am able to view all ...
0
votes
0answers
27 views
Rebuilding content access permissions upgrade D6->D7 stuck at 99.97%
Hello I'm having trouble finding why rebuilding content access permissions can't complete. It get stucked at 99.97% every time I try to run it. Everything else seems to work properly. Any idea? I'm ...
0
votes
1answer
16 views
Permisssions based on file folders & content collection
Can user permissions be customised based on file folders and content collections?
If so, what are the modules for this?
-2
votes
1answer
33 views
Permission based on nodes/section of site [closed]
Is it possible to alter permissions based on content types/individual nodes or sections of the site? If so, how?
0
votes
2answers
121 views
Regarding menus for authenticated users only
Using Structures/Menus/User Menu in DRUPAL 7 i am adding a custom menu link under it and providing a path to it as node/whatever_my_nid. It is working fine. I have cleared all cache. However this menu ...



