Class: UU::OS::MetaPermission::MetaPermissionSetMaskData
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::MetaPermission::MetaPermissionSetMaskData
- Defined in:
- uu_os-0.29.16/lib/uu/os/meta_permission/meta_permission_set_mask_data.rb
Overview
Instance Attribute Summary (collapse)
-
- (Object) data
Data for settings permission mask.
Method Summary
Methods inherited from REST::DTO
#initialize, #to_hash, #to_json
Constructor Details
This class inherits a constructor from UU::OS::REST::DTO
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO
Instance Attribute Details
- (Object) data
Data for settings permission mask. Only JSON ("application/json") or CSV ("text/csv") format is accepted.
JSON format: key "useCaseCode" - contains codes of use cases (access units or access collections). When this value is empty, the command fails key "castLevel" - contains cast level value (if it is empty, the settings for this use cases is ignored)
CSV format: the first column - contains codes of use cases (access units or access collections). When this value is empty and value in the second column is set, the command fails the second column - contains cast level value (if it is empty, the settings for this use case is ignored)
Possible cast level values: ASSISTANCE - gives access rights for executive and assistance cast roles EXECUTIVE - gives access rights for executive cast roles GUEST - gives access rights for executive, assistance and guest cast roles REVOKE - removes access rights
29 30 31 |
# File 'uu_os-0.29.16/lib/uu/os/meta_permission/meta_permission_set_mask_data.rb', line 29 def data @data end |