Page Properties | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||
Resources & Remarks Modification History
|
...
App-specific schemata are managed via the following endpoints:
- GET /api/system/apps/{app}/schema
- POST /api/system/apps/{app}/schema
- POST / api/system/apps/{app}/schema/validate
In the multi-tenant landscape of yuuvis® Momentum, any object types or properties that need to be available for multiple or all tenants, need to be introduced to the system schema. To prevent cluttering the system schema, avoid dependencies and allow for duplicate names, the system schema can be structured into applications, which provide a namespace for properties and object types pertaining to a particular use case.
>> Schema - Defining Object Types
Role Sets for Apps
App-specific role sets are managed via the following endpoints:
- GET /api/system/apps/{app}/permissions
- POST /api/system/apps/{app}/permissions
- POST /api/system/apps/{app}/permissions/validate
The permissions to access objects or to perform certain actions are assigned to specific roles that are listed in the role set. yuuvis® Momentum has the ability to further structure the global role set into applications.
>> Access Authorization and Permissions
App Sets for Availability Management
As of version 2021 Summer, the availability of an app for a specified tenant is managed in an app set via the following endpoints:
- GET /api/system/tenants/{tenant}/apps
- POST /api/system/tenants/{tenant}/apps
- POST /api/system/tenants/{tenant}/apps/validate
The configuration of the availability of each app for the specified tenant is stored and managed in the apps.xml
file as shown in the example code block below. In this app set, each app has its own section (<app></app>
) containing the app's name (<name></name>
) and state of availability (<state></state>
) which can be either enabled
or disabled
. The default value for state
is disabled
. Thus, each app that is not listed in the passed configuration XML will not be available for the corresponding tenant. There is no difference in the configuration of not-listed apps and apps listed as disabled
.
...