Class QSystemUserSession

java.lang.Object
com.kingsrook.qqq.backend.core.model.session.QSession
com.kingsrook.qqq.backend.core.model.session.QSystemUserSession
All Implemented Interfaces:
Serializable, Cloneable

public class QSystemUserSession extends QSession
Special session, indicating that an action being executed is being done not on behalf of a (human or otherwise) user - but instead, is the application/ system itself. Generally this means, escalated privileges - e.g., permission to all tables, processes etc, and all security keys (e.g., all-access keys).
See Also:
  • Constructor Details

    • QSystemUserSession

      public QSystemUserSession()
      Constructor
    • QSystemUserSession

      public QSystemUserSession(QInstance qInstance)
      Create a system session before its instance has been installed in QContext. Read the key types for each new session: instances can be replaced, and their security metadata can change while an application is being built.
  • Method Details

    • hasPermission

      public boolean hasPermission(String permissionName)
      System User Sessions should always have permission to all the things.
      Overrides:
      hasPermission in class QSession