Class ResourceRole

java.lang.Object
io.jmix.security.model.BaseRole
io.jmix.security.model.ResourceRole

public class ResourceRole extends BaseRole
Class is a container for security resource policies.

Resource policies define permissions for resources. A resource may be a screen, entity CRUD operation, entity attribute, etc.

Role objects may be created from different sources:

  • from interfaces annotated with ResourceRole
  • from database Role entities
  • created explicitly by the application