Class EntityAccessReporter.Reporter
java.lang.Object
ch.tocco.nice2.entityoperation.api.security.EntityAccessReporter.Reporter
- All Implemented Interfaces:
EntityAccessReporter
- Enclosing interface:
EntityAccessReporter
public static final class EntityAccessReporter.Reporter
extends Object
implements EntityAccessReporter
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.entityoperation.api.security.EntityAccessReporter
EntityAccessReporter.Reporter
-
Constructor Summary
ConstructorDescriptionReporter
(DataModel dataModel, SecurityManager securityManager, PrincipalManager principalManager, OutputCenterService outputCenterService, TaskSchedulingService taskSchedulingService, ModuleManager moduleManager, TimezoneResolverService timezoneResolverService, TextResources textResources) -
Method Summary
Modifier and TypeMethodDescriptionCall action: `nice2_entityoperation_EntityAccessReporter.reportCreate` Creates an output job named `Entity Create Permissions` containing the create permissions of all entities.reportCreateForUser
(String userName) LikeEntityAccessReporter.reportCreate()
()} but including only rules relevant for the given user.Call action: `nice2_entityoperation_EntityAccessReporter.reportDelete` Creates an output job named `Entity Delete Permissions` containing the delete permissions of all entities.reportDeleteForUser
(String userName) LikeEntityAccessReporter.reportDelete()
()} but including only rules relevant for the given user.Call action: `nice2_entityoperation_EntityAccessReporter.reportRead` Creates an output job named `Entity Read Access Permissions` containing the read permissions of all entities.reportReadCountForUser
(String userName) Creates an output job named 'Entity Read Access Count' containing a table showing how many entities can be read with a given userName.reportReadForUser
(String userName) LikeEntityAccessReporter.reportRead()
but including only rules relevant for the given user.Call action: `nice2_entityoperation_EntityAccessReporter.reportWrite` Creates an output job named `Entity Write Access Permissions` containing the write permissions of all entities.reportWriteForUser
(String userName) LikeEntityAccessReporter.reportWrite()
()} but including only rules relevant for the given user.
-
Constructor Details
-
Reporter
public Reporter(DataModel dataModel, SecurityManager securityManager, PrincipalManager principalManager, OutputCenterService outputCenterService, TaskSchedulingService taskSchedulingService, ModuleManager moduleManager, TimezoneResolverService timezoneResolverService, TextResources textResources)
-
-
Method Details
-
reportRead
Description copied from interface:EntityAccessReporter
Call action: `nice2_entityoperation_EntityAccessReporter.reportRead` Creates an output job named `Entity Read Access Permissions` containing the read permissions of all entities. The entities are grouped as follows: 1. all entities with at least 1 rule which grants read to anonymous 2. all entities with read permissions for authenticated users 3. all entities without any read permissions- Specified by:
reportRead
in interfaceEntityAccessReporter
-
reportReadForUser
Description copied from interface:EntityAccessReporter
LikeEntityAccessReporter.reportRead()
but including only rules relevant for the given user.- Specified by:
reportReadForUser
in interfaceEntityAccessReporter
-
reportReadCountForUser
Description copied from interface:EntityAccessReporter
Creates an output job named 'Entity Read Access Count' containing a table showing how many entities can be read with a given userName.- Specified by:
reportReadCountForUser
in interfaceEntityAccessReporter
-
reportWrite
Description copied from interface:EntityAccessReporter
Call action: `nice2_entityoperation_EntityAccessReporter.reportWrite` Creates an output job named `Entity Write Access Permissions` containing the write permissions of all entities. The entities are grouped as follows: 1. all entities with at least 1 rule which grants write to anonymous 2. all entities with write permissions for authenticated users 3. all entities without any write permissions- Specified by:
reportWrite
in interfaceEntityAccessReporter
-
reportWriteForUser
Description copied from interface:EntityAccessReporter
LikeEntityAccessReporter.reportWrite()
()} but including only rules relevant for the given user.- Specified by:
reportWriteForUser
in interfaceEntityAccessReporter
-
reportCreate
Description copied from interface:EntityAccessReporter
Call action: `nice2_entityoperation_EntityAccessReporter.reportCreate` Creates an output job named `Entity Create Permissions` containing the create permissions of all entities. The entities are grouped as follows: 1. all entities with at least 1 rule which grants create to anonymous 2. all entities with create permissions for authenticated users 3. all entities without any create permissions- Specified by:
reportCreate
in interfaceEntityAccessReporter
-
reportCreateForUser
Description copied from interface:EntityAccessReporter
LikeEntityAccessReporter.reportCreate()
()} but including only rules relevant for the given user.- Specified by:
reportCreateForUser
in interfaceEntityAccessReporter
-
reportDelete
Description copied from interface:EntityAccessReporter
Call action: `nice2_entityoperation_EntityAccessReporter.reportDelete` Creates an output job named `Entity Delete Permissions` containing the delete permissions of all entities. The entities are grouped as follows: 1. all entities with at least 1 rule which grants delete to anonymous 2. all entities with delete permissions for authenticated users 3. all entities without any delete permissions- Specified by:
reportDelete
in interfaceEntityAccessReporter
-
reportDeleteForUser
Description copied from interface:EntityAccessReporter
LikeEntityAccessReporter.reportDelete()
()} but including only rules relevant for the given user.- Specified by:
reportDeleteForUser
in interfaceEntityAccessReporter
-