Update SecuritySystemComponent.php

sitPrivilege is the main function of the security system 
responsible for analyzing rules inserted in table "event_privilege_roles" 

for example on create project, the event fired here is "create" 
first step we get all events related to this entity "project"
second step detect project status and get related rules to this status .. status could be for example : project "completed" or "new" or "in progress"

then we get all actors included and supposed to see this project 
give each actor the specified template in order to see this project with 

insert all this as record in security table