[vhffs-dev] [966] small improvement |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 966
Author: gradator
Date: 2007-10-05 21:32:48 +0000 (Fri, 05 Oct 2007)
Log Message:
-----------
small improvement
Modified Paths:
--------------
trunk/vhffs-api/src/Vhffs/Acl.pm
Modified: trunk/vhffs-api/src/Vhffs/Acl.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Acl.pm 2007-10-05 21:02:06 UTC (rev 965)
+++ trunk/vhffs-api/src/Vhffs/Acl.pm 2007-10-05 21:32:48 UTC (rev 966)
@@ -203,7 +203,7 @@
(
( SELECT allusers.object_id AS granted_oid, allusers.name, aclusers.perm
FROM
- ( SELECT u.object_id, u.username AS name FROM vhffs_users u INNER JOIN vhffs_user_group ug ON ug.uid=u.uid INNER JOIN vhffs_groups g ON ug.gid=g.gid INNER JOIN vhffs_object o ON o.owner_gid=g.gid WHERE o.object_id=? )
+ ( SELECT u.object_id, u.username AS name FROM vhffs_users u INNER JOIN vhffs_user_group ug ON ug.uid=u.uid INNER JOIN vhffs_object o ON o.owner_gid=ug.gid WHERE o.object_id=? )
AS allusers
LEFT OUTER JOIN
( SELECT acl.granted_oid, acl.perm FROM vhffs_acl acl INNER JOIN vhffs_users u ON u.object_id=acl.granted_oid WHERE acl.target_oid=? )