Feat: ユーザーのアイコン/バナーの変更可否をロールで設定可能に (#14078)
* feat: implement role policy "canUpdateBioMedia" * docs(changelog): update changelog * docs(changelog): update changelog * chore: regenerate misskey-js type definitions * chore: Apply suggestion from code review Co-authored-by: anatawa12 <anatawa12@icloud.com> * chore: fix unnecessarily strict inequality check * chore: policies should be gotten only once --------- Co-authored-by: anatawa12 <anatawa12@icloud.com>
Showing
- CHANGELOG.md 2 additions, 0 deletionsCHANGELOG.md
- locales/index.d.ts 4 additions, 0 deletionslocales/index.d.ts
- locales/ja-JP.yml 1 addition, 0 deletionslocales/ja-JP.yml
- packages/backend/src/core/RoleService.ts 3 additions, 0 deletionspackages/backend/src/core/RoleService.ts
- packages/backend/src/core/activitypub/models/ApPersonService.ts 8 additions, 0 deletions...es/backend/src/core/activitypub/models/ApPersonService.ts
- packages/backend/src/models/json-schema/role.ts 4 additions, 0 deletionspackages/backend/src/models/json-schema/role.ts
- packages/backend/src/server/api/endpoints/i/update.ts 17 additions, 6 deletionspackages/backend/src/server/api/endpoints/i/update.ts
- packages/frontend/src/const.ts 1 addition, 0 deletionspackages/frontend/src/const.ts
- packages/frontend/src/pages/admin/roles.editor.vue 20 additions, 0 deletionspackages/frontend/src/pages/admin/roles.editor.vue
- packages/frontend/src/pages/admin/roles.vue 8 additions, 0 deletionspackages/frontend/src/pages/admin/roles.vue
- packages/misskey-js/src/autogen/types.ts 1 addition, 0 deletionspackages/misskey-js/src/autogen/types.ts
Loading