It would be good to set some default cashier permissions when the module installs and the cashier role is created. Default permissions would speed up initial configuration and be less confusing to someone not familiar with the module.

Comments

Hubbs created an issue. See original summary.

smccabe’s picture

Status: Needs work » Active
thejacer87’s picture

Status: Active » Needs review
StatusFileSize
new4.15 KB

just applied all permission regarding POS, perhaps some admin one should not be activated.

smccabe’s picture

Status: Needs review » Needs work

I'd remove this permission 'access commerce pos administration pages'

Your patch above also contains your keypad fixes, so you'll want to split that out into the correct issue as well.

thejacer87’s picture

Status: Needs work » Needs review
StatusFileSize
new651 bytes

sorry

thejacer87’s picture

StatusFileSize
new603 bytes

🎶 One more time!!🎶

Status: Needs review » Needs work

The last submitted patch, 6: default-cashier-perms-2921649-6.patch, failed testing. View results

thejacer87’s picture

StatusFileSize
new600 bytes

🎶 Another one bites the dust!🎶

thejacer87’s picture

Status: Needs work » Needs review
thejacer87’s picture

smccabe’s picture

Status: Needs review » Needs work

These permissions aren't really sufficient, you don't get the admin theme or menu, so you can't get to the POS unless you know the url and it looks all janky in a frontend theme, probably even worse if the theme is quite custom.

Need the following additional permissions.

Use the administration toolbar
View the administration theme
Use the commerce administration pages

Btw, those are the UI display names, I think you'll have to match them with the actual permission names.

You'll want to test with these and double check if you get a nicely working POS, but that setup worked for me.

thejacer87’s picture

Status: Needs work » Needs review
StatusFileSize
new567 bytes

donezo

  • smccabe committed 22509c1 on 8.x-2.x authored by thejacer87
    Issue #2921649 by thejacer87, Hubbs: Set default cashier permissions
    
smccabe’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.