Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.77 KB

WebItemSecurityRequestDto.md

File metadata and controls

31 lines (23 loc) · 1.77 KB

WebItemSecurityRequestDto

The access rule stored for one portal module: whether it may be opened, and by whom.

Properties

Name Type Description Notes
id str The module the rule applies to, given as a GUID. A value that is not a GUID fails the request as invalid.
enabled bool Whether the module may be opened. It decides the outcome only while subjects names somebody: an empty subjects array is stored as access for everyone whatever this flag says. [optional]
subjects List[UUID] The users and groups the rule is stored for, given by their IDs. This is the whole allow-list that is to hold afterwards and not a list of additions - what was stored before is dropped. Leaving it out applies enabled to everyone and skips the audit trail entry, while sending it empty stores access for everyone. [optional]

Example

from docspace_api_sdk.models.web_item_security_request_dto import WebItemSecurityRequestDto

# TODO update the JSON string below
json = "{}"
# create an instance of WebItemSecurityRequestDto from a JSON string
web_item_security_request_dto_instance = WebItemSecurityRequestDto.from_json(json)
# print the JSON string representation of the object
print(WebItemSecurityRequestDto.to_json())

# convert the object into a dict
web_item_security_request_dto_dict = web_item_security_request_dto_instance.to_dict()
# create an instance of WebItemSecurityRequestDto from a dict
web_item_security_request_dto_from_dict = WebItemSecurityRequestDto.from_dict(web_item_security_request_dto_dict)

[Back to Model list] [Back to API list] [Back to README]