Mutation - 폴더 접근 권한 확인
폴더 접근 권한을 조회한다.
Schema
Input Objects
KEY OBJECT DESC id ID 폴더 아이디 fullPathString 조회 폴더 경로 (필수) adminPage Boolean 관리자 페이지 여부
Objects
OBJECT DESC FsEntityDto 폴더 / 파일 정보
Method
POST
{{url}}/graphql
Headers
KEY VALUE AuthorizationSecurity365 JWT 토큰
Body
QUERY
mutation checkDirectoryAcl($id: ID, $fullPath: String!, $adminPage: Boolean) {
checkDirectoryAcl(id: $id, fullPath: $fullPath, adminPage: $adminPage) {
id
indexDate
interlockId
deleteKey
storageId
realPath
displayPath
storageEntityId
type
realName
displayName
description
tag
size
fixings
createdDate
createdUserId
createdUserName
modifiedDate
modifiedUserId
modifiedUserName
status
statusReqDate
statusResDate
folderInfo {
type
shareFolderInfo {
bgImage
labels {
id
name
color
__typename
}
members {
id
name
role
createdDate
__typename
}
teamId
type
__typename
}
shareChannelInfo {
channelId
__typename
}
shareListInfo {
pos
__typename
}
shareCardInfo {
labelId
pos
__typename
}
__typename
}
acl {
id
targetType
targetId
authFlag
order
refernceId
__typename
}
aggs {
folderCount
fileCount
fileSize
__typename
}
favorited
subscribed
accessDate
__typename
}
}
Sample
VARIABLES
{
"fullPath": "/share_common",
"adminPage": false
}RESPONSE
{
"data": {
"checkDirectoryAcl": {
"id": "sd_share_common",
"indexDate": 1666010964344,
"interlockId": null,
"deleteKey": "",
"storageId": null,
"realPath": "",
"displayPath": "",
"storageEntityId": null,
"type": 0,
"realName": "sd_share_common",
"displayName": "share_common",
"description": null,
"tag": null,
"size": 0,
"fixings": null,
"createdDate": 1665642008113,
"createdUserId": "SHIELDrive",
"createdUserName": "SHIELDrive",
"modifiedDate": 1665642008113,
"modifiedUserId": "8239b9b2ed1511ecbf494657c4f20301",
"modifiedUserName": "최고관리자",
"status": 0,
"statusReqDate": 0,
"statusResDate": 0,
"folderInfo": {
"type": "SHARE",
"shareFolderInfo": null,
"shareChannelInfo": null,
"shareListInfo": null,
"shareCardInfo": null,
"__typename": "FsEntityFolderInfoDto"
},
"acl": {
"id": "15b2f569a2a011edb1b62e032c97580f",
"targetType": 2,
"targetId": "FlO2obnc-rML3zoOV-bdlCYCUq-8zblDQPb",
"authFlag": 15,
"order": 2,
"refernceId": null,
"__typename": "FsEntityAclDto"
},
"aggs": null,
"favorited": false,
"subscribed": false,
"accessDate": 0,
"__typename": "FsEntityDto"
}
}
}