Skip to content
Prev Previous commit
Next Next commit
Update docusaurus/docs/cms/plugins-development/guides/admin-permissio…
…ns-for-plugins.md
  • Loading branch information
pwizla authored Oct 30, 2025
commit 3b79ea3d6d414e64dc03c05fe9262740d66d0a3c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ You can see how we use our permissions configuration file together with the `<Pa

### Menu link permissions

The above example makes sure that the permissions of a user that visits your page directly will be validated. However, you might want to remove the menu link to that page as well. To do that, you'll have to make a change to the `addMenuLink` implementation. You can do as follows:
The previous example makes sure that the permissions of a user that visits your page directly will be validated. However, you might want to remove the menu link to that page as well. To do that, you'll have to make a change to the `addMenuLink` implementation. You can do as follows:

```js title="/src/plugins/my-plugin/admin/src/index.js|ts" {21-23,5}
import { getTranslation } from './utils/getTranslation';
Expand Down