I'm not a drupal developer but I need to do something.
I have two users with Admin site role. so the permissions of both should be the same but one of them can access to all pages even admin settings but the other does not have access to some pages and admin settings.
Is there some where in drupal to set permission of pages to specific user only?
Are you sure that the 'Admin site' role is actually an administrator role? It seems like one of your users is a real administrator while the other is not, since access restrictions are 'bypassed' for real administrators. You might want to check whether there is another real administrator role in /admin/people/permissions/roles (the default administrator role is 'administrator).
To access the pages, setting view permissions for the Admin site rol in the access control module should be sufficient.
In order to let the Admin site role see/edit admin settings, you should set the right permissions in People => Permissions => Administer xxx for the Admin site role.
Create a new role and add this new role to the 2 user accounts.
Set the page to be visible only to the new role you created.
You can also use actions, triggers and rules to do this.
Related
I created a new user with Admin privileges and realized it cannot see the Network Admin menu.
I have one user with Network Admin, but I want to create a different user with those privileges.
Can't figure out how.
Help!
For adding a user to the sites in Multisite first loge in with admin privilege that you have then go into the network setting and in the sites section on each sites you have to go in the users tab and then add the user you want to have the privilege or create one in there and the user will have the appropriate privilege
I need to create a website for a client using Drupal 7, the only problem is that I don't know how to handle multiples login forms and permissions.
The goal is that A type of user must be allowed to browse and do some stuff on the website but they can't post offers, however B type of users can only post their offers and manage their contents, the system is just as Upwork.
How can I achieve this ? I'm not good at PHP but I know how to use Drupal, so are there modules that can help me to do what I want?
This is exactly how Drupal works by default using role based permissions. You won't need to install a module or have different login forms.
Start by creating different roles. RoleA can view certain content types and maybe post comments. RoleB can do everything RoleA can do plus post offers and manage their own content. You can control create/edit/delete permissions by content type. It can all be done using the point and click admin interface.
On admin page /admin/user (root relative path to admin page) you can see your site users. There's also link "+ Add user" for creating new user. So if you edit/create an user, on user edit page there is a section "Roles" where you can set what roles that user can use. One role may be "Browse some stuff" and other "Edit some stuff".. You can add/edit roles at admin page /admin/people/permissions/roles. So create the roles you need there.
And to precisely set what role can do what there is admin page: /admin/people/permissions. So when you create all the roles you need, go to that page to set permissions and after that you can assign roles to your users.
Dear friends i'm doing Bsc final for my final year project i have choose Drupal site to build the shopping cards website. I have lots of question to complete my part of the project. unfortunately i could not put my all questions at same page.
How would you grant a particular permission to a particular user?
An individual user or a user role?
To set user role permissions you need to go to the permissions page under 'people' in the admin menu. Or if you are logged in as admin, just stick this on the end of your url /users/admin#overlay=admin/people/permissions
django 1.5.1
django cms 2.4.2
i am just learning django-cms and am working on my first test site. I searched this site and googled for these questions but can't find any answers which is why I am posting here.... Any help would be appreciated!
Through the admin page (as superuser) i added a group with permission to add/change/delete pages in addition to other permissions.
I create a user and assign the user to this group.
First of all, if i don't specify that user as staff then they can't access the admin site to login to begin with - this just doesn't make sense to me: what's the point of a user who never has the option to log in? Or is there something I'm missing - is there another way to log in besides the admin site itself.
Second, after marking that user as staff, and keeping in mind that the user is a member of group with permission to add/edit/delete pages, when the user logs in he can perform other admin tasks that he was given permissions for but still can't add/edit/delete pages. Although pages shows up as an object there is no link to the page list.
The Staff setting is to differentiate between users who are allowed to access the Django admin and users who aren't i.e. regular users who have signed up to your website via a registration form.
I had the same problem as you creating a new non-superuser user and not being able to add or edit pages as that user. It turned out that I needed to set CMS_PERMISSION = False in my settings.py.
If CMS_PERMISSION == True, you get a more fine-grained permissions framework where each page has its own list of users who are allowed to view and edit it, so permission to edit is done on a page-by-page basis (unless you're a superuser). If you don't need that functionality, I suggest you turn it off.
If you do want the more fine-grained permissions system, but you also want some users to be able to edit any page on the site, log in to django admin as a superuser and look at Cms -> Pages global permissions. From there you can give blanket edit rights to any user or group.
I enable the contact form module and it isn't showing up unless I'm logged into the system. I want all users to be able to use it.
You'll need to allow anonymous (and for good measure, authenticated) users permission to see it, via the Drupal permissions admin page.