Room
child objects
depending on a particular Room use case
.
The use cases are described by instances of the object class Context
.
Currently to following usecaes are supported:
FSCTEAMROM@1.1001:CtxApplyRoom
: to define the security for objects added to the roomFSCTEAMROM@1.1001:CtxChangePublishState
: to define the security for room objects when the publish state or
the setting of the attribute trshowcollaborators
is changed
The available publish states are defined with the customization point FSCTEAMROM@1.1001:CPGetRoomPublishStates
FSCTEAMROM@1.1001:CtxMoveToWastebasket
to define the security for objects moved to the waste basketFSCTEAMROM@1.1001:CtxRestoreFromWastebasket
to define the security for objects restored from the waste basketcustomize CPGetRoomSecurity <Object, TeamRoom, CtxApplyRoom> {
roles = expression {
SecurityContext ctx = null;
if (room && room.HasClass(#Room)) {
Object aclref = room.objaclref;
ctx = {
objaccdef : room.objaccdef,
objaclobj : room.objaclobj),
objaclref = :>aclref ? :>room : null
};
}
return ctx;
}
}
SecurityContext
FSCTEAMROOM@1.1001:CPGetRoomSecurity(
key ObjectClass
objclass,
key ObjectClass
roomobjclass,
key optional Context
usecase,
Room
room,
out retval SecurityContext
seccontext,
optional boolean
iscustomizingobj)
Name |
Description |
objclass |
applies to objects of the defined object class
|
roomobjclass |
the object class of the room to which the current object is assigned to
|
usecase |
defines the use case for security context evaluation
|
room |
the room of the current object
|
seccontext |
|
iscustomizingobj |
defines the object for which the security context is evaluated is a customizing object in the target room
|
Additional Information