Rbac class create_subject policy

Creates a new subject.

Type: rule policy.

Syntax

create_subject:{source: SourceSid, target: TargetSid, image: ImageName, type: Type, roles: Roles}

In this case:

Returned value

KSS_GRANT if the subject was created.

KSS_DENY if the subject was not created.

Example

execute dst=SimpleServer {

rbac0.create_subject

{ source: ()

, target: src_sid

, image: ()

, type: "actors"

, roles: ["admin"]

}

}

Page top