statamic-rad-pack / runway

Eloquently manage your database models in Statamic.
https://statamic.com/runway
MIT License
107 stars 43 forks source link

[6.x] Fix permissions grouped under "Miscellaneous" #443

Closed caseydwyer closed 4 months ago

caseydwyer commented 4 months ago

Prior to this PR, the permission set for Runway resources (eg, as seen when creating a new role) was grouped in with Miscellaneous, resulting in a duplicate header and no Runway section. This change updates the registerPermissions method in Runway's service provider, by swapping the trailing ->group call for a ::group closure/wrapper, as outlined in Statamic's docs.

Before:

image

After:

image

duncanmcclean commented 4 months ago

Thanks! I'll include this in the next release.

caseydwyer commented 4 months ago

Sounds good, thanks Duncan!

github-actions[bot] commented 4 months ago

Released as part of v6.3.0.