kirby icon indicating copy to clipboard operation
kirby copied to clipboard

Language permissions not working

Open SebastianEberlein-JUNO opened this issue 8 months ago • 0 comments

Description

According to the documentation, I can disable creating and deleting new languages:

# site/blueprints/users/editor.yml
title: Editor
permissions:
  languages:
    create: false
    delete: false

But this does not work, I can still create and delete languages in the languages view. The permission options are available in the window.panel.permissions.languages object, but it seems that they are not implemented in the LanguagesView.vue (?)

To reproduce

In a plainkit installation, add the user blueprint mentioned above. Also set 'languages' => true in site/config/config.php. You should still be able to create and delete languages in the editor role.

Your setup

Kirby Version
4.3

Your system Chrome 126 on macOS 14.5

SebastianEberlein-JUNO avatar Jun 17 '24 08:06 SebastianEberlein-JUNO