Interface EntityAccessReporter

All Known Implementing Classes:
EntityAccessReporter.Reporter

public interface EntityAccessReporter
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Call action: `nice2_entityoperation_EntityAccessReporter.reportCreate` Creates an output job named `Entity Create Permissions` containing the create permissions of all entities.
    Like 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.
    Like 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.
    Creates an output job named 'Entity Read Access Count' containing a table showing how many entities can be read with a given userName.
    Like 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.
    Like reportWrite() ()} but including only rules relevant for the given user.
  • Method Details

    • reportRead

      String reportRead()
      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
    • reportReadForUser

      String reportReadForUser(String userName)
      Like reportRead() but including only rules relevant for the given user.
    • reportReadCountForUser

      String 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.
    • reportWrite

      String reportWrite()
      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
    • reportWriteForUser

      String reportWriteForUser(String userName)
      Like reportWrite() ()} but including only rules relevant for the given user.
    • reportCreate

      String reportCreate()
      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
    • reportCreateForUser

      String reportCreateForUser(String userName)
      Like reportCreate() ()} but including only rules relevant for the given user.
    • reportDelete

      String reportDelete()
      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
    • reportDeleteForUser

      String reportDeleteForUser(String userName)
      Like reportDelete() ()} but including only rules relevant for the given user.