Merged in bugfix/PMCORE-548 (pull request #7301)
PMCORE-548 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
9ae7e79676
22
database/factories/ObjectPermissionFactory.php
Normal file
22
database/factories/ObjectPermissionFactory.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Model factory for a process
|
||||
*/
|
||||
use Faker\Generator as Faker;
|
||||
|
||||
$factory->define(\ProcessMaker\Model\ObjectPermission::class, function(Faker $faker) {
|
||||
return [
|
||||
'OP_UID' => G::generateUniqueID(),
|
||||
'PRO_UID' => '',
|
||||
'TAS_UID' => '',
|
||||
'USR_UID' => '',
|
||||
'OP_USER_RELATION' => 1,
|
||||
'OP_TASK_SOURCE' => '',
|
||||
'OP_PARTICIPATE' => 0,
|
||||
'OP_OBJ_TYPE' => 'MSGS_HISTORY',
|
||||
'OP_OBJ_UID' => '',
|
||||
'OP_ACTION' => 'VIEW',
|
||||
'OP_CASE_STATUS' => 'ALL'
|
||||
];
|
||||
});
|
||||
Reference in New Issue
Block a user