Skip to content

bug: .role doesn't work with roles with space in the name #2736

@themrrobert

Description

@themrrobert

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

You can't use .role to add a role to yourself with a space in it.

I've tried using single quotes and double quotes to enclose the role name, and underscores to represent spaces.

Steps To Reproduce

Make a role named BSO ToB

Try to add it to yourself with .role BSO ToB
or .role "BSO ToB" or .role BSO_ToB or .role 'BSO ToB'

using double quotes shows a list of 4 'matching' roles, however none of the listed roles are actually the named role, they just match BSO, and don't even list the BSO ToB role.

Expected behavior

.roles BSO ToB should add the BSO ToB role. Maybe quotes should be required, but either way, it should work.

Screenshots

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions