Skip to content

Commit

Permalink
chore: clientの権限に関する注意事項を記載
Browse files Browse the repository at this point in the history
  • Loading branch information
kyosu-1 committed Oct 20, 2024
1 parent a5445f4 commit d559a8b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions service/rbac/role/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import (
// Client Clientロール (for OAuth2 client credentials grant)
const Client = "client"

// 自分自身以外の参照系は許可するようにしたいが、https://github.com/traPtitech/traQ/pull/2433#discussion_r1649383346
// の事情から許可できる権限が限られる
// https://github.com/traPtitech/traQ/issues/2463 で権限を増やせるよう対応予定
var clientPerms = []permission.Permission{
permission.GetUser,
permission.GetUserTag,
Expand Down

0 comments on commit d559a8b

Please sign in to comment.