Has Project Permission

Hi, I’m using the following project permission in one of my plugins:

"conditions":[{
    "condition":"has_project_permission",
    	"params": {
               	"permission": "project"
         },
      	"invert":false
}]

The “permission”: “project” doesn’t seem to be in the documentation under project permission keys anymore.

Firstly does anyone remember what a permission of project actually means (is it just project access, project admin …) and has this been replaced by permission type.

Thanks
Paul

Hi, @paul,

Your condition uses legcay behaviour where condition keys are matched by their prefix. In this case, if a name does not match any actual permission key but starts with “project”, it will be converted to “ADMINISTER_PROJECTS”. And that is the key you should be using instead.

Best regards
Krzysztof