Permissions Confusion

Events happening in the community are now at Drupal community events on www.drupal.org.
yorkshiregeek's picture

Hi There

I have setup a little test site for OA. I have one space with a tasks section and a discussion. I want auth users to be able to reply to tasks set by admin or editor but not create their own. I do also want them to be able to comment on tasks. I have tried to use permissions but despite everything I untick for auth users they can still do anything on the tasks page. Can anyone tell me whats wrong on this basic test?

Thanks

Comments

Permissions Confusion

hollyfox's picture

Once you have your permissions set the way you would like them, try rebuilding content permissions. The old content may still have the permissions originally set for it. Also, make sure you do not have any administration permissions set for authorized users and flush your caches.

Thanks, how do you rebuild

yorkshiregeek's picture

Thanks, how do you rebuild content permissions? I have added a new role and ticked all I want but it doesnt seem to do anything. I have removed all the ticks from auth user and cleared cache?

You can rebuild content

othermachines's picture

You can rebuild content permissions at admin/reports/status > Node Access Permissions.

OK I have done this and

yorkshiregeek's picture

OK I have done this and cleared cache but despite doing this and making a user appear in a new role with create task not ticked they still have the option to create a task? Why is it so difficult. Should be a basic thing to do. V fustrated.

Have you checked the Space permissions?

dsnopek's picture

Have you checked the Space permissions as well? Beyond the normal Drupal permissions, there are permissions for use within the context of a Space (they come from Organic Groups, which Open Atrium uses).

You can see the defaults at this path on your site: /admin/config/group/permissions/node/oa_space

Or, if you have configured your Space to have it's own custom permissions, you can get it them by:

  1. Visiting the Space page
  2. Clicking the gear icon and selecting "Config"
  3. Clicking on "Permissions"

I hope that helps!

Ah thanks. I think I may be

yorkshiregeek's picture

Ah thanks. I think I may be getting somewhere thanks to your help here. So I can see member and non member but all the tick boxes are greyed out. How do I amend or make it use the drupal role i set up?

If the boxes are greyed out...

dsnopek's picture

If the boxes are greyed out that means your Space is using the default permissions. Either (1) edit the Space and make it have custom permissions, or (2) use the first link I gave to edit the default permissions: /admin/config/group/permissions/node/oa_space

Also, OG (Organic Groups) has it's own roles - so, you may need to create an OG role as well!

Perfect thanks. I removed

yorkshiregeek's picture

Perfect thanks. I removed create post for member here and now a member cannot post new tasks but can update an existing one. Still dont quite understand why my roles didnt override this way of doing it but it will do for now.

Thanks so much for helping. I was banging my head against a wall over this one.

Awesome! Glad it worked. :-)

dsnopek's picture

Awesome! Glad it worked. :-) Yeah, OG permissions sometimes completely override global Drupal permissions, and that's the case for all the "content" ones (ie. create, update, delete various content types).

Open Atrium

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: