Closed (fixed)
Project:
Storm
Version:
6.x-1.23
Component:
Storm.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2009 at 18:51 UTC
Updated:
24 Oct 2010 at 22:20 UTC
I have a user connected to a person in org A.
I create project P1 and P2 for this org.
I don't want this user to see P2, only P1. So I created a teammember record, linking this user to A.P2.
I think it might be something to do with the permissions but I'm not sure.
If the user has
Storm project: view of user organization
Storm task: view of user organization
Then they can see all projects for that org, otherwise they see nothing.
Is there a way to make the user only see P2 and not other projects in his org?
The same questions would also apply to task restrictions too.
Thanks.
Comments
Comment #1
Mark_Watson27 commentedAs far as I'm aware stormteammember doesn't actually do much, refer to #380008: Development of Storm Teammember for more details.
Comment #2
Magnity commentedyes - this whole area is up for review, so im afraid the best advice at the moment is to watch #380008: Development of Storm Teammember
Comment #4
copeasetic commentedFirst - STORM IS AWESOME. I LOVE IT!.
My config:
Drupal 6.16
Storm: 6.x-1.33
PHP 5.29
I am encountering the same/similar issue. I am trying to create a view that renders content related individual contractors to only see projects/tasks/notes/etc. which are associated to the project they are assigned to for that specific organization (though I really need to be able to assign contractors across multiple organziations, but that is a request for another post).
The following permissions "View project: view if assigned to project" & "Storm Project: view if project manager" do nothing in relation to allowing the view to render the project. The user can view the project if they visit the Organization's home page and then select 'project'... But the view will not render the project. The view work ONLY when the permission value is set to "Storm Project: view of user organization" will the view work, but then of course all the projects are then shown.
Some additional notes:
Contractor users are member of the 'Partner' role
Client users are members of 'Client' role
I created a person record for the contractor (Partner) and assigned their Drupal ID to that record under the client's organization (** I can't have a contractor work on multiple client organizations which is a HUGE pain**).
I would like my view to render only projects,notes,tasks,timetracking,etc where the user is the Project Manager and/or Assigned To. I can not have them see all the projects that are currently active for a client since the other projects are totally unrelated and the data can be sensitive.
Please see SQL output of the view:
SELECT stormproject.organization_title AS stormproject_organization_title,
node.title AS node_title,
node.nid AS nid,
node.language AS node_language
FROM node node
LEFT JOIN stormproject stormproject ON node.vid = stormproject.vid
WHERE (stormproject.projectstatus in ('inserted', 'in progress')) AND (node.type in ('stormproject'))
Thanks in advance!
Comment #5
juliangb commentedIs this still an issue?
Comment #6
juliangb commentedAssuming not.