Questions tagged [drupal-permissions]

"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.

In Drupal, every user has specific permissions that are indirectly assigned to each user; each user is assigned to a role, and the permissions are assigned to the roles.

Drupal core modules define a standard set of permissions, such as "administer users," "administer content," and "view content." Third-party modules can expand the permissions by implementing hook_perm() (Drupal 6) or hook_permission() (Drupal 7).

27 questions
0
votes
2 answers

After drupal update site throws HTTP ERROR 500

I updated drupal from 9.2.7 to latest version using composer. The update was completed but the site throws "This site currently unable to handle this request.HTTP ERROR 500" I changed the owner as "sudo chown -R username:groupname…
0
votes
1 answer

Drupal permitted node types custom dropdown

I am looking for some advice on how I might fetch an array with a list of links to node types the currently logged in user is allowed to create. My client wants these links to populate a custom dropdown list which sits on the user profile page. Just…
sisko
  • 9,604
  • 20
  • 67
  • 139
0
votes
1 answer

How to change Drupals menu alternatives for creating a page

I have a Drupal site with Organic Groups and I want one group to be able to access the menu options and place the page in the primary_links menu where ever they want. The other group shouldn't be able to access it at all. I have accomplished some of…
Fredrik
  • 4,161
  • 9
  • 28
  • 31
0
votes
1 answer

Advanced poll lists the same permissions as core poll module (Drupal)

The advanced poll module and core Poll module share the same permissions, which is according to this http://drupal.org/node/206757 unacceptable. In last paragraph there stands : "Your permission strings are arbitrary, but each must be unique among…
Adriana
  • 8,464
  • 13
  • 36
  • 37
0
votes
1 answer

Is it possible in Drupal 8 to allow registered site users to see each other's email addresses?

I'm developing a Drupal 8 website for a small volunteer organization of trusted members. For those who have a certain role on the website, we'd like to use a View to display all of the registered user information (only to other registered users). I…
0
votes
1 answer

block permission in Drupal

is it possible in Drupal to show a menu just to a special username?
hd.
  • 17,596
  • 46
  • 115
  • 165
0
votes
1 answer

Site Access control through a particular user field in Drupal 7

I am trying to only grant user the access to the site if one of the user fields have a particular value. If not, the site should show an access denied. Is there an efficient way to achieve this? Thanks
Steve
  • 2,546
  • 8
  • 49
  • 94
0
votes
1 answer

Drupal - "Access denied" for anonymous user

I installed Drupal(7.31) on an xampp server (in localhost). Then created some new contents as pages with menu items. Now when I logout and try to access that page, "Access denied" message is shown. admin view anonimous view Can someone tell me how…
Sampath Liyanage
  • 4,776
  • 2
  • 28
  • 40
0
votes
1 answer

Drupal permissions and role(own group content)

I'm working on my drupal website. I need that Manager(a custom user role) and Publisher(a custom use role) can upload documents (a custom content type) and until here it's all ok. Then i need also that for example there is: user A that is a…
0
votes
1 answer

Is it possible to split "administer users" permission to multiple permissions?

Would it be possible to split the administer users permission to multiple permissions. For example, I want the user to be able to add new users and not to be able to delete any users? Is that possible? Is there a module that help achieve this…
perpetual_dream
  • 1,046
  • 5
  • 18
  • 51
0
votes
2 answers

How to define custom access check function to see if a user may create a node in Drupal 7?

I have several things I want to check before a user may create a node. So, if the user visits node/add/proposal I want to check if he may do so, so I wrote a module: function proposals_menu() { $items['node/add/proposal'] = array( …
Alex
  • 9,911
  • 5
  • 33
  • 52
0
votes
1 answer

Make the posts visible only to administrators in Drupal 6?

I have an administrator account in Drupal 6 and I have a lot of posts. I have then created a new authenticated user. When I log in using the new account, I can see all the posts the admin had posted even though the account I'm logged is not…
Tsukimoto Mitsumasa
  • 541
  • 4
  • 19
  • 42
1
2