Skip to content

Commit 9e37b44

Browse files
authored
Merge pull request #94 from SawamiWataru/Issue-82-Change-privilege-of-GetBoxURL-API
#82 Change execution privilege of GetBoxURL API.
2 parents 848d52c + 4a4a2fc commit 9e37b44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/io/personium/core/rs/cell/BoxUrlResource.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ public final Response boxUrl(@QueryParam("schema") final String querySchema) {
9494
throw PersoniumCoreException.Auth.NECESSARY_PRIVILEGE_LACKING;
9595
}
9696

97+
// TODO Should the order of box acquisition and check processing be reversed?
98+
// Only when it is necessary to acquire ACL of box, obtain box and check.
9799
// 認証トークンの有効性チェック(有効期限の切れているトークンなど)
98100
DavCmp davCmp = ModelFactory.boxCmp(box);
99101
DavRsCmp boxUrlRsCmp = new BoxUrlRsCmp(this.cellRsCmp, davCmp, this.accessContext, box);

0 commit comments

Comments
 (0)