I am creating three user types in Drupal 7.
company
publisher
administrator
(Default drupal 7.)
Company has permission to create article and view own article (ONLY). Publisher has permission to create, delete, view, edit, and publish unpublished article (Only). By default all articles can be viewed by all guest users.
What type of configuration is required in Drupal 7?
The default core user permissions can do this. You have only to set the Article content type unpublished by default (I suppose you mean for company "create article and view own UNPUBLISHED article").
Related
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
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.
I am using the question module on my Drupal 7.x website and I want some specific people to answer that.
Node_invite and rsvp modules only have a 6.x version.
You can use the Node Access Password or the Access Links modules. These allow for node access by using a password and a path alias respectively.
Notice that you should uncheck the permission of "View published content" from all kind of user roles and of course from anonymous users.
I have created a Drupal 7 website where I want any (not just own) unpublished content to be editable for authenticated users. I wrote a module to change all the permissions so when I type the URL to edit the unpublished node with an authenticated user account it is editable.
The only thing I can't do is to display the unpublished node in the content overview page of the authenticated user.
Do you have any idea?
You can create a View which lists all unpublished content by all authors.
You may also want to keep track of this issue: http://drupal.org/node/1192074 since the View Unpublished module has the same problem you're experiencing.