diff --git a/CHANGELOG.md b/CHANGELOG.md index f14efc90861..a6fe10d0a64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -79,34 +79,34 @@ to console.log(`Text "${copiedText}" was copied!`); }} /> -``` Issue [#49847](https://github.com/grafana/grafana/issues/49847) +``` +Issue [#49847](https://github.com/grafana/grafana/issues/49847) The following RBAC action renames have been carried out: -* `users.authtoken:update` -> `users.authtoken:write`; -* `users.password:update` -> `users.password:write`; -* `users.permissions:update` -> `users.permissions:write`; -* `users.quotas:update` -> `users.quotas:write`; -* `org.users.role:update` -> `org.users:write`; -* `alert.instances:update` -> `alert.instances:write`; -* `alert.rules:update` -> `alert.rules:write`; -* `users.authtoken:list` -> `users.authtoken:read`; -* `users.quotas:list` -> `users.quotas:read`; -* `users.teams:read` -> replaced by `users.read` + `teams:read` +- `users.authtoken:update` -> `users.authtoken:write`; +- `users.password:update` -> `users.password:write`; +- `users.permissions:update` -> `users.permissions:write`; +- `users.quotas:update` -> `users.quotas:write`; +- `org.users.role:update` -> `org.users:write`; +- `alert.instances:update` -> `alert.instances:write`; +- `alert.rules:update` -> `alert.rules:write`; +- `users.authtoken:list` -> `users.authtoken:read`; +- `users.quotas:list` -> `users.quotas:read`; +- `users.teams:read` -> replaced by `users.read` + `teams:read` We've added a migration from the old action names to the new names and have updated our documentation. But you will have to update any scripts and provisioning files that are using the old action names. Issue [#49730](https://github.com/grafana/grafana/issues/49730) - The following RBAC action renames have been carried out: -* `reports.admin:write` -> `reports:write`; -* `reports.admin:create` -> `reports:create`; -* `licensing:update` -> `licensing:write`; -* `roles:list` -> `roles:read`; -* `teams.roles:list` -> `teams.roles:read`; -* `users.roles:list` -> `users.roles:read`; -* `users.permissions:list` -> `users.permissions:read` +- `reports.admin:write` -> `reports:write`; +- `reports.admin:create` -> `reports:create`; +- `licensing:update` -> `licensing:write`; +- `roles:list` -> `roles:read`; +- `teams.roles:list` -> `teams.roles:read`; +- `users.roles:list` -> `users.roles:read`; +- `users.permissions:list` -> `users.permissions:read` We've added a migration from the old action names to the new names and have updated our documentation. But you will have to update any scripts and provisioning files that are using the old action names. Issue [#3372](https://github.com/grafana/grafana/issues/3372) @@ -194,7 +194,7 @@ module.exports.getWebpackConfig = (config, options) => ({ }, }, }); -```` +``` Please refer to the webpack build error messages or the [official migration guide](https://webpack.js.org/migrate/5/) for assistance with fallbacks. diff --git a/package.json b/package.json index 4d91df3602c..c4ec6fab1c6 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "packages:clean": "lerna run clean", "precommit": "yarn run lint-staged", "prettier:check": "prettier --check --list-different=false --loglevel=warn \"**/*.{ts,tsx,scss,md,mdx}\"", - "prettier:checkDocs": "prettier --check --list-different=false --loglevel=warn \"docs/**/*.md\" \"packages/**/*.{ts,tsx,scss,md,mdx}\"", + "prettier:checkDocs": "prettier --check --list-different=false --loglevel=warn \"docs/**/*.md\" \"*.md\" \"packages/**/*.{ts,tsx,scss,md,mdx}\"", "prettier:write": "prettier --list-different \"**/*.{js,ts,tsx,scss,md,mdx}\" --write", "start": "yarn themes:generate && yarn dev --watch", "start:noTsCheck": "yarn start --env noTsCheck=1",