Class ObjectTree

java.lang.Object
org.gridgain.internal.rbac.privileges.ObjectTree

public class ObjectTree extends Object
Represents a tree of objects in RBAC model. Can be used to find all ancestors of a given object.
  • Constructor Details

    • ObjectTree

      public ObjectTree()
  • Method Details

    • findParents

      public static Set<Privilege> findParents(Privilege child)
      Finds all parents of a given privilege. For example, [CREATE_TABLE action on PUBLIC.MY_TABLE] has two parents: [CREATE_TABLE action on PUBLIC] and [CREATE_TABLE on the cluster].