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
ConstructorsConstructorDescriptionReporter(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:EntityAccessReporterCall 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:
reportReadin interfaceEntityAccessReporter
-
reportReadForUser
Description copied from interface:EntityAccessReporterLikeEntityAccessReporter.reportRead()but including only rules relevant for the given user.- Specified by:
reportReadForUserin interfaceEntityAccessReporter
-
reportReadCountForUser
Description copied from interface:EntityAccessReporterCreates an output job named 'Entity Read Access Count' containing a table showing how many entities can be read with a given userName.- Specified by:
reportReadCountForUserin interfaceEntityAccessReporter
-
reportWrite
Description copied from interface:EntityAccessReporterCall 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:
reportWritein interfaceEntityAccessReporter
-
reportWriteForUser
Description copied from interface:EntityAccessReporterLikeEntityAccessReporter.reportWrite()()} but including only rules relevant for the given user.- Specified by:
reportWriteForUserin interfaceEntityAccessReporter
-
reportCreate
Description copied from interface:EntityAccessReporterCall 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:
reportCreatein interfaceEntityAccessReporter
-
reportCreateForUser
Description copied from interface:EntityAccessReporterLikeEntityAccessReporter.reportCreate()()} but including only rules relevant for the given user.- Specified by:
reportCreateForUserin interfaceEntityAccessReporter
-
reportDelete
Description copied from interface:EntityAccessReporterCall 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:
reportDeletein interfaceEntityAccessReporter
-
reportDeleteForUser
Description copied from interface:EntityAccessReporterLikeEntityAccessReporter.reportDelete()()} but including only rules relevant for the given user.- Specified by:
reportDeleteForUserin interfaceEntityAccessReporter
-