Seems like a simple issue, but I can't find the proper reference.
I have a system that has some permissions that have spaces in them:
contract admin
I need to secure an action, so in security.yml i have:
action:
is_secure: on
credentials: contract admin
However, it doesn't work: the user with this permission will still be restricted.
I've tried putting the credentials in single and double quotes and square brackets, but it always fails. If i change the credential to one with no spaces, it works fine.
I might be able to rename the credential, but ultimately i'd like to know the solution to this issue.