IRPCNamedACLs.GetNamedACLs

View as Markdown

Vault API / standard read session or assertion idempotent returns metadata structure version

Gets the named ACLs of the given types that the calling user is allowed to see.

ServiceNamed access control lists MFiles.IRPCNamedACLs
gRPC method/MFiles.IRPCNamedACLs/GetNamedACLs
HTTP (mf-http-grpc)POST /grpc/v1/get-named-acls
RequestGetNamedACLsRequest
ResponseGetNamedACLsResponse
Book and levelVault API, standard
Kindread
SessionRequired: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata).
Idempotentyes
Returns metadata structure versionyes (in the mfiles-metadata-version-bin trailer)
Streamingnone (unary)

Remarks

Request: GetNamedACLsRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
include_builtinboolTrue to include the built-in named ACLs (negative IDs), such as "Only for me". They cannot be modified.
typesuint32Bit mask of NACLType values: 1 for normal, 2 for internal, 3 for both. 0 returns nothing.

Response: GetNamedACLsResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page. Fields marked (recursive) refer to a type already on their path.

FieldTypeDescription
named_acls[]repeated NamedACLThe named ACLs; see NamedACL. acl_for_objects is the permission set that the named ACL applies to objects.
named_acls[].idint32Named ACL ID.
named_acls[].namestringThe name of the named ACL.
named_acls[].typeNACLTypeThe type of the NACL.Values: NACLTYPE_NONE (0), NACLTYPE_NORMAL (1), NACLTYPE_INTERNAL (2).
named_acls[].acl_for_objectsAccessControlListThe predefined permissions. This defines the ACL which this named ACL encapsulates.
named_acls[].acl_for_objects.checked_out_to_userint32Specifies the ID of the user who has extended rights because of the checkout operation performed by her. 0 if such user does not exist.
named_acls[].acl_for_objects.is_fully_authoritativeboolSpecifies whether this access control list is set to ignore the secondary permissions that come from the latest checked in version.
named_acls[].acl_for_objects.custom_componentAccessControlListComponentAccesses the custom component of this ACL.
named_acls[].acl_for_objects.restrictive_components[]repeated AccessControlListComponentMapEntryAccesses the restrictive automatic components of this ACL.
named_acls[].acl_for_objects.secondary_access_control_listAccessControlList (recursive)Secondary ACL used for latest version ACL. Not used for access check if null.
named_acls[].acl_for_objects.additive_components[]repeated AccessControlListComponentMapEntryAccesses the additive automatic components of this ACL.
named_acls[].guidstringGUID for the NACL.