BoltTranslate / labels

Bolt Labels extension - Translatable labels for Bolt
https://bolt.cm/
18 stars 12 forks source link

impossible to set permissions #34

Closed jimi75 closed 7 years ago

jimi75 commented 8 years ago

In Global permissions tried:

labels: extensions:labels extend:labels and many more with no luck

bolt: 3.1.0 bolt/labels: 3.0.2

SvanteRichter commented 8 years ago

IIRC in 2.2 there was a custom permission called labels, but I'm not sure that is around anymore.

jimi75 commented 8 years ago

@SahAssar labels is not working in bolt: 3.1.0 and bolt/labels: 3.0.2

I tried just for check delete the conditional in line 73 of file /extensions/vendor/bolt/labels/src/Controller/Backend.php

        if ($app['permissions']->isAllowed('labels', $user)) {
            return null;
        }

Only root users have permission to labels.

GwendolenLynch commented 8 years ago

@jimi75 Yep, and you should be just able to add labels: [ editor ] in the global: section here

jimi75 commented 8 years ago

@GawainLynch i already try that and is not working.

jimi75 commented 7 years ago

35