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
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:
-
Field Summary
Fields inherited from class com.kingsrook.qqq.backend.core.model.session.QSession
VALUE_KEY_USER_TIMEZONE, VALUE_KEY_USER_TIMEZONE_OFFSET_MINUTES -
Constructor Summary
ConstructorsConstructorDescriptionConstructorQSystemUserSession(QInstance qInstance) Create a system session before its instance has been installed in QContext. -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasPermission(String permissionName) System User Sessions should always have permission to all the things.Methods inherited from class com.kingsrook.qqq.backend.core.model.session.QSession
clearSecurityKeyValues, clone, getBackendVariants, getClientChannel, getClientChannelName, getCredentialScope, getIdReference, getPermissions, getSecurityKeyValues, getSecurityKeyValues, getSecurityKeyValues, getUser, getUuid, getValue, getValues, getValuesForFrontend, hasSecurityKeyValue, hasSecurityKeyValue, removeValue, setBackendVariants, setClientChannel, setCredentialScope, setIdReference, setPermissions, setSecurityKeyValues, setUser, setUuid, setValue, setValues, setValuesForFrontend, withBackendVariants, withClientChannel, withCredentialScope, withPermission, withPermissions, withPermissions, withSecurityKeyValue, withSecurityKeyValues, withUser, withValue, withValueForFrontend, withValuesForFrontend
-
Constructor Details
-
QSystemUserSession
public QSystemUserSession()Constructor -
QSystemUserSession
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
System User Sessions should always have permission to all the things.- Overrides:
hasPermissionin classQSession
-