Closed (fixed)
Project:
Subuser
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2012 at 02:12 UTC
Updated:
16 Nov 2013 at 00:02 UTC
Jump to comment: Most recent
That was a mouthful of a title :)
Due to the way views works, any user who has subusers permissions can see another users subusers by visiting the view path user/%/subuser replacing % with a uid.
I think it can be fixed using hook_views_plugins and views_plugin_access or hook_module_implements_alter on menu_alter???
Comments
Comment #1
hanskuiters commentedI applied this code to create an extra filter in the subuser view. It'll do the trick.
Comment #2
lauriiiThis have been already fixed for alpha3 with more advanced user permission handling.