Skip to content

feat(youtrack-app): add missing permissions to enum#5590

Merged
github-actions[bot] merged 3 commits into
SchemaStore:masterfrom
Adeptask:fix/youtrack-app-permissions
May 4, 2026
Merged

feat(youtrack-app): add missing permissions to enum#5590
github-actions[bot] merged 3 commits into
SchemaStore:masterfrom
Adeptask:fix/youtrack-app-permissions

Conversation

@tpgionfriddo

Copy link
Copy Markdown
Contributor

Fixes JT-95511.

Adds entries to the widget permissions enum to match the official YouTrack App Permissions reference (https://www.jetbrains.com/help/youtrack/devportal/app-permissions.html):

  • Article: CREATE_ARTICLE, READ_ARTICLE, UPDATE_ARTICLE, DELETE_ARTICLE
  • Article Comment: CREATE_ARTICLE_COMMENT, READ_ARTICLE_COMMENT, UPDATE_ARTICLE_COMMENT, DELETE_ARTICLE_COMMENT
  • Report: CREATE_REPORT, READ_REPORT, SHARE_REPORT
  • Work Item: CREATE_NOT_OWN_WORK_ITEM, UPDATE_NOT_OWN_WORK_ITEM

Fixes JT-95511 (partial).

Adds entries to the widget permissions enum to match the official YouTrack App Permissions reference (https://www.jetbrains.com/help/youtrack/devportal/app-permissions.html):

- Article: CREATE_ARTICLE, READ_ARTICLE, UPDATE_ARTICLE, DELETE_ARTICLE
- Article Comment: CREATE_ARTICLE_COMMENT, READ_ARTICLE_COMMENT, UPDATE_ARTICLE_COMMENT, DELETE_ARTICLE_COMMENT
- Report: CREATE_REPORT, READ_REPORT, SHARE_REPORT
- Work Item: CREATE_NOT_OWN_WORK_ITEM, UPDATE_NOT_OWN_WORK_ITEM
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by @skoch13, @andrey-skl, @zmaks, and @maxmaximov - if they write a comment saying "LGTM" then it will be merged.

@andrey-skl

Copy link
Copy Markdown
Contributor

Hi @tpgionfriddo, thanks for the PR!

Copy-pasting the comment from the issue you refer:

Unfortunately, some of these permissions are not actually available anymore.
Reports permissions are gone, so CREATE_REPORT, READ_REPORT, SHARE_REPORT are not valid anymore since 2026.1

@tpgionfriddo

Copy link
Copy Markdown
Contributor Author

@andrey-skl, report perms removed

@andrey-skl

Copy link
Copy Markdown
Contributor

LGTM

@github-actions github-actions Bot merged commit b0bfd76 into SchemaStore:master May 4, 2026
4 checks passed
@github-actions

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown
Contributor

Merging because @andrey-skl is a code-owner of all the changes - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants