프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$roleService | eZ\Publish\API\Repository\roleService |
메소드 | 설명 | |
---|---|---|
__construct ( eZ\Publish\API\Repository\Repository $repository, eZ\Publish\API\Repository\RoleService $roleService ) | ||
ensureRoleExists ( string $name ) : eZ\Publish\API\Repository\Values\User\Role | Make sure a Role with name $name exists in parent group. | |
getRole ( string $identifier ) : eZ\Publish\API\Repository\Values\User\Role | Fetches the role with identifier. | |
iDontSeeRole ( $name ) | ||
iHaveRole ( $name ) : eZ\Publish\API\Repository\Values\User\Role | ||
iSeeRole ( $name ) | ||
noAssginedPolicies ( $name ) | ||
noAssigneGroups ( $name ) |
public __construct ( eZ\Publish\API\Repository\Repository $repository, eZ\Publish\API\Repository\RoleService $roleService ) | ||
$repository | eZ\Publish\API\Repository\Repository | |
$roleService | eZ\Publish\API\Repository\RoleService |
public ensureRoleExists ( string $name ) : eZ\Publish\API\Repository\Values\User\Role | ||
$name | string | Role identifier |
리턴 | eZ\Publish\API\Repository\Values\User\Role |
public iHaveRole ( $name ) : eZ\Publish\API\Repository\Values\User\Role | ||
리턴 | eZ\Publish\API\Repository\Values\User\Role |