[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] ged/inc class.flow_client.inc.php
From: |
Pascal Vilarem |
Subject: |
[Phpgroupware-cvs] ged/inc class.flow_client.inc.php |
Date: |
Mon, 12 Nov 2007 21:41:19 +0000 |
CVSROOT: /sources/phpgroupware
Module name: ged
Changes by: Pascal Vilarem <maat> 07/11/12 21:41:19
Modified files:
inc : class.flow_client.inc.php
Log message:
fixed : added acl update just after review doc creation to avoid denial
of access
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ged/inc/class.flow_client.inc.php?cvsroot=phpgroupware&r1=1.10&r2=1.11
Patches:
Index: class.flow_client.inc.php
===================================================================
RCS file: /sources/phpgroupware/ged/inc/class.flow_client.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- class.flow_client.inc.php 12 Nov 2007 16:20:52 -0000 1.10
+++ class.flow_client.inc.php 12 Nov 2007 21:41:19 -0000 1.11
@@ -171,6 +171,11 @@
$new_id=$this->ged_dm->add_file($new_file);
+ // Update acl array so that process can
continue
+ // without acces denied on the brand
new file
+ // TODO : update acl with a less ugly
approach
+ $this->ged_dm->acl[$new_id]['read']=1;
+
$new_version=$this->ged_dm->get_last_version($new_id);
$new_relations[0]['linked_version_id']=$last_version['version_id'];
- [Phpgroupware-cvs] ged/inc class.flow_client.inc.php,
Pascal Vilarem <=