StaticinitializeInitializes the PermissionService singleton with HttpClient This is called automatically by MaximoClient during construction
The HttpClient instance to use for API requests
StaticlistLists all applications allowed for the current user
Promise resolving to array of allowed applications
StaticgetLists allowed sigoptions for the current user for the given apps
Optionalapp: stringOptional app parameter to filter results for a specific app
Promise resolving to allowed app options
StaticcheckChecks if the user has any authorization for the object structure
Promise resolving to authorization check result
StaticgetIdentifies whether there is authority for all GL fields at the specified site or orgid, using glSegs
Promise resolving to GL authority check result
StaticgetIdentifies whether there is authority for any of the GL fields at the specified site or orgid, using glSegs
Promise resolving to GL authority check result
StaticgetLists organizations this user has permission for
Promise resolving to array of organization codes
StaticgetReturns the collections to which the user has access. If empty, user has access to all collections
Promise resolving to array of collections
StaticgetIdentifies sites for which the user has READ authorization
Promise resolving to array of site codes
StaticgetIdentifies sites and provides description for which the user has READ authorization
Promise resolving to object with site ID as key and description as value
StaticgetIdentifies organizations and provides description for which the user has READ authorization
Promise resolving to object with org ID as key and description as value
Singleton service for Maximo permission management operations Implements endpoints from the Permission section of Maximo REST API
Usage: const client = new MaximoClient(config); await client.authenticate();
// Now you can use PermissionService directly const orgs = await PermissionService.getOrgs(); const canAccess = await PermissionService.checkOsAuthorized('mxapiwodetail');