Unable to view projects in views without organization permissions

deggertsen - October 28, 2009 - 18:29
Project:Storm
Version:6.x-1.x-dev
Component:Storm Organization
Category:bug report
Priority:normal
Assigned:Unassigned
Status:fixed
Description

I'm trying to create some views that allow people to view projects that they are assigned to without giving them access to the project organization's information. In the normal storm project view this appears to work fine but when trying to create a custom view using views you no projects appear without giving full access to view all organizations. Hopefully that makes sense.

#1

Magnity - October 28, 2009 - 18:46

Could you post the fields that you're using in the views and the permissions that the user has allocated please?

(EDIT: fields / views typo corrected)

#2

deggertsen - October 28, 2009 - 20:25

I have attached the export data from two views I am trying to use.

I have also attached images of all the permissions related to storm and I do have the "access all views" permission checked.

AttachmentSize
my_projects.txt 5.32 KB
available_projects.txt 6.65 KB
Screen shot 2009-10-28 at 2.21.16 PM.png 17.33 KB
Screen shot 2009-10-28 at 2.21.44 PM.png 49.53 KB
Screen shot 2009-10-28 at 2.21.59 PM.png 51.56 KB
Screen shot 2009-10-28 at 2.22.12 PM.png 49.02 KB
Screen shot 2009-10-28 at 2.22.21 PM.png 38.13 KB

#3

kewlguy - October 29, 2009 - 06:43

subscribing

#4

Magnity - November 6, 2009 - 00:52

Would it be possible to post the SQL generated by views please?

#5

Magnity - November 12, 2009 - 15:31
Category:support request» bug report
Status:active» postponed (maintainer needs more info)

Sounds like this is a probable bug.

Needs more info though - the SQL query would be really helpful. Views should print this for you when you edit the view.

#6

Magnity - November 19, 2009 - 19:33
Status:postponed (maintainer needs more info)» fixed

I think I've found the bug. The attached patch should solve it.

I've also committed the changes to both 6 & 7 branches.

AttachmentSize
stormproject.module.patch 1.44 KB
 
 

Drupal is a registered trademark of Dries Buytaert.