| Package | Description |
|---|---|
| io.tesler.model.core.api.security | |
| io.tesler.model.core.entity.security | |
| io.tesler.model.core.service |
| Modifier and Type | Method and Description |
|---|---|
<T extends SecurableEntity> |
AccessService.getSecuritySpecification(Permission permission)
Returns the security specification for getting a list of entities
for the current user and the requested access level
|
<T extends SecurableEntity> |
AccessService.getSecuritySpecification(User user,
Permission permission)
Returns the security specification for getting a list of entities
for the specified user and the requested access level
|
| Modifier and Type | Method and Description |
|---|---|
void |
AccessService.assignAccessList(SecurableEntity entity,
AccessList accessList)
Assigns an access list to an entity
|
Permission |
AccessService.getPermission(SecurableEntity entity)
Returns the rights of the current user
|
Permission |
AccessService.getPermission(SecurableEntity entity,
User user)
Returns the rights of the specified user
|
void |
AccessService.grantPermission(SecurableEntity entity,
IAccessorSupplier supplier,
Permission permission)
Grants rights to the specified user / group, after copying
access list if not private
|
void |
AccessService.grantPermission(SecurableEntity entity,
IAccessorSupplier supplier,
Permission permission,
Boolean mandatory)
Grants rights to the specified user / group, after copying
access list if not private
|
void |
AccessService.removeAccessor(SecurableEntity entity,
IAccessorSupplier supplier)
Deletes the entry on the access right of the specified user / group, after copying
access list if not private
|
| Modifier and Type | Field and Description |
|---|---|
static javax.persistence.metamodel.SingularAttribute<SecurableEntity,AccessList> |
SecurableEntity_.accessList |
| Modifier and Type | Method and Description |
|---|---|
<T extends SecurableEntity> |
BaseAccessService.getSecuritySpecification(Permission permission) |
<T extends SecurableEntity> |
BaseAccessService.getSecuritySpecification(User user,
Permission permission) |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseAccessService.assignAccessList(SecurableEntity entity,
AccessList accessList) |
Permission |
BaseAccessService.getPermission(SecurableEntity entity) |
Permission |
BaseAccessService.getPermission(SecurableEntity entity,
User user) |
void |
BaseAccessService.grantPermission(SecurableEntity entity,
IAccessorSupplier supplier,
Permission permission) |
void |
BaseAccessService.grantPermission(SecurableEntity entity,
IAccessorSupplier supplier,
Permission permission,
Boolean mandatory) |
void |
BaseAccessService.removeAccessor(SecurableEntity entity,
IAccessorSupplier supplier) |
Copyright © 2018–2021 Tesler. All rights reserved.