User Permissions

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

Hello,

I am working with Open Atrium. I am pretending to use the Case Tracker as a workflow I need that:

A user send a case to another use or department, and only the users involved will be able to watch it.

I am thinking that; I have a group for each workflow, for example "room request", I add to his group all the user who can request a room and the respective deparment of this workflow.
When a user want to make a room request, open a case which only should be visible to the person who the case is assigned; "rooms deparment" and the user who make it.

Thus the user will be able to watch all the cases he make, and the "room deparment" will be able to watch all the cases of all the users for "room request" and only this.

Actually all users of a group could watch all the cases opened, this is my problem, I need that only users will watch the cases which they are involved.

I think to make a group for each pair of deparment-user, but I need workflows in wich many deparments are involved, and a search for cases of the same workflow type, (using this option I would have search cases for users, and I need for type), so this is no a solution.

I ask if there is any solution for it, with rules, permission, organic groups... or if I could do this with Storm and how...

Comments

Try content access modul or plus user refference

lorden26's picture

Hello,

do you know the Modul content access? http://drupal.org/project/content_access It makes possible to set access per role by node. If it is possible to give the members of the group a role like the group you can give the acces only for this group and the author. Also I think it must be possible to give a cck user reference field ( multiple) and after open a workflow you add per rules all members in this field. With views you show this. I hope you understand what I mean ( sorry my english is not so good)

It looks fine, Following your

an_in's picture

It looks fine,

Following your idea... what I want is than only the users of certain role will be able to add to certain project (so they will be able to edit and delete cases inside of this project).

For example, I have the group "A" and "user1", "user2", "user3" belongs to this group, inside of the group I have the "project1" and "project2", I want that "user1" and "user3" could access to "project1" so I make a role for them "access_project1" and that "user2" and "user3" could access to "project2" so I make a role "access_project2"

It is right up here

I've just installed content_acces, and I enable per content node access control settings in
/admin/content/node-type/casetracker-basic-project/access but when I go to the permissions page I don't find where I could give this correct permissions.

For example, the "project1" is in /admin/node/3 . How I could make that the role "access_project1" have access to this node, and the role "access_project2" not?

You give the permission by node

lorden26's picture

You will go in your example to admin/node/3/access. There are the options for this node.

I tried it, but it doesn't

an_in's picture

I tried it, but it doesn't work, all roles can access...
what it's wrong?

Is it possible that you have

lorden26's picture

Is it possible that you have given at the user permission site ( admin/user/permissions )all roles access? For this node type you will give only at node the access.

PS. at admin/user/permissions you give all roles access for create node because all users have to create a node of your type, but the view and edit from other users you give the access per node

Where I can give the access

an_in's picture

Where I can give the access per node? I only watch permissions for modules...
I am lost...

Open Atrium

Group organizers

Group notifications

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

Hot content this week