Skip to content

[BC] Change spaces to underscores in permission machine names #3787

Open
@ghost

Description

It seems that permissions are the only things (that I know of) in Backdrop (and even Drupal 7) whose machine names can have spaces in them. Everything else (content types, image styles, etc.) have machine names with just "lowercase alphanumeric characters, underscores (_), and hyphens (-)".

Can/should we change permission machine names to match everything else? Is there a (valid) reason permissions are setup like this? This'd obviously be a major API change, so it'd only go in 2.x, if at all.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions