Interface IRoleAssignment


public interface IRoleAssignment
Since:
3.20.1
  • Method Summary

    Modifier and Type
    Method
    Description
    User Groups that the role assignment is obtained from.
    boolean
    Whether the role is derived i.e.
    boolean
    Whether the role is assigned directly to the User, false if it is inherited from User Groups or derived in another way.
  • Method Details

    • isDerived

      boolean isDerived()
      Whether the role is derived i.e. assigned to the User automatically by Polarion without the need for it to be added manually through Role or User Group UI. Derived assignments cannot be removed.
    • isDirect

      boolean isDirect()
      Whether the role is assigned directly to the User, false if it is inherited from User Groups or derived in another way.
    • getGroups

      @NotNull Set<String> getGroups()
      User Groups that the role assignment is obtained from.
      Returns:
      unmodifiable set