customize CPRoomProcessParticipantPermissions<Room, Object> {
allowchange = expression {
cooobj.CanInvite() && cooobj.GetUserManagedRoles(coouser, null, false)
}
changeappliation = expression { #ChangeRoomProcessPartPermissions; }
}
customize CPRoomProcessParticipantPermissions<TeamRoom, PDFObject> {
allowchange = expression { false; }
}
boolean
FSCTEAMROOM@1.1001:CPRoomProcessParticipantPermissions(
key ObjectClass
roomclass,
key ObjectClass
objclass,
out retval boolean
allowchange,
out Application
changeappliation,
Object
object,
optional WorkFlowParticipant[]
participants,
optional AdministrationObject[]
partusersgroups)
Name |
Description |
roomclass |
the object class of the room to which the object of the process is assigned to
|
objclass |
the object class of the object of the process
|
allowchange |
the result of this parameter defines if a branch to change the permissions of the participant should be displayed
|
changeappliation |
the application returned by this parameter is called when clicking the branch to change the permissions;
the application is intended to change the permissions of the affected participants in a separate transaction and is only called
when the prototype
ProcessPartPermissionsPrototype is used |
object |
the object on which the process is running and the participants have insufficient access permissions
Note:
changeappliation must use a separate transaction because the main transaction is aborted afterwards |
participants |
the workflow participant which have insufficient access permissions
|
partusersgroups |
the participants resolved to users and groups
|
Additional Information