Hi,

what sort of permissions or other configuration aspects should I consider if I want only to allow project managers to add tasks to their respective projects?

I have tried different permissions combinations and so far I have been only able to allow users either to add tasks to all projects - because I want them to be able to see all projects - or to not be able to add or create tasks at all.

Thanks

Comments

juliangb’s picture

Category: support » feature

I think this should be a feature request. It is a basic thing that we should be able to do.

Plus, actually the issue should be wider that we need to be able to better control the options in the dropdown boxes rather than just controlling the viewing of each project.

Storm currently has a long list of permissions, and I am hesitant about adding more, but it may be necessary. Any ideas about how it should work ideally?

For your case, you might be able to achieve a quick fix by adding a custom module implementing hook_form_alter, and doing something with the options array that is used to output the dropdown list.

Luis de Morais’s picture

Thank you Julian.

The way I see it, this "issue" can be seen either from an "edit project" or "add task" perspective.

Edit project: if we consider that being able to add a task to a project is the same thing as editing it. Then another line should be added under the stormproject module list of permissions: "Add task if project manager" or "Add task if own"

Add task: when creating/adding a new task in the combo box where you chose the project, the user should only see the projects that he created/owns or that he is assigned to as the manager. In the stormtask module permissions list we should see something like "Add task if project manager" or "Add task to own project"

Cheers.

juliangb’s picture

There is another aspect to this - in that currently (if I remember correctly), a user has to have permission to view a project for it to appear in the list. Some people want a user to be able to select a project for a task etc without being able to see all details stored on the project node.

juliangb’s picture

Version: 6.x-1.34 » 6.x-2.x-dev

New features now go into 2.x.