Service: Rights
Reading rights
Functions
| Result | Name / Params | Comment |
|---|
| GetResult | rights.Get ≥wg.core 0.0.11 | Returns a filtered list of RightsPolicy Objects. |
| filter | string | (Optional) Filter expression which determines the result set. |
| select | string[] | (Optional) List of properties that should be contained in the result objects. |
| limit | int | (Optional) Maximum amount of Objects that should be returned. (Max : 100000) |
| RightsRule[] | rights.GetRules ≥wg.core 0.0.11 | Get active rules for a specific client or context. |
| session | string | (Optional) Session ID of a connection that defines the context indirectly. |
| context | RightsTarget[] | (Optional) Context as list of rights targets. |
Notifications
| Name / Params | Comment |
|---|
| rights.Created | Notifies about new RightsPolicy Objects. |
| objects | RightsPolicy[] | Newly created RightsPolicy Objects. |
| rights.Deleted | Notifies about deleted RightsPolicy Objects. |
| ids | guid[] | IDs of the deleted RightsPolicy Objects. |
Objects
RightsPolicy
| Property |
Type |
Description |
| Id |
guid |
Unique ID of the Data Object. |
| Target |
RightsTarget |
Target definition. |
| Rule |
RightsRule |
Rule definition. |
| Weight |
int |
Optional weight (0..9). |
RightsRule
| Property |
Type |
Description |
| Item |
string |
Rule applies to this item type. The available item types depend on the application. |
| Filter |
string |
Rule only applies to item instances that match this filter expression. |
| Aspects |
string |
Rule only applies to parts of the item, e.g., some properties. The expression depends on the item type. |
| Actions |
string[] |
Rule applies to these actions. The available actions depend on the item type. |
| Deny |
bool |
True for ‘forbid’, otherwise ‘allow’. |
RightsTarget
RightsTargetType
| Name |
Value |
Description |
| User |
user |
User of the application. (code) |
| Station |
station |
Station of a networked application. (code) |
| Extension |
extension |
Configured AOP Extension. (code) |
| Profile |
profile |
Profile that defines a role, for example. (ID) |
Last modified September 25, 2026