By default, the view commerce_orders view has the access permission "administer commerce_order entities."

However, it is sometimes useful to have a non-administrator view these orders. Though this can be configured post-install, I'm wondering why the permission "view any commerce_order entity" wasn't used as the default permission for this? The operations column respects subsequent access control defined by hook_menu, so this seems like a safe choice.

CommentFileSizeAuthor
#2 views-default-access-1515818-2.patch1.32 KBhelior

Comments

rszrama’s picture

Category: task » feature
Issue tags: +1.3 review

Hmm, that may not be a bad change. I'll consider it for the next release.

helior’s picture

Status: Active » Needs review
StatusFileSize
new1.32 KB
c4rl’s picture

Status: Needs review » Reviewed & tested by the community

WFM. Gotta love the 1-liners.

rszrama’s picture

Just to be sure, this permission is the default for all pages in the View, right? i.e. it will also update the Shopping Cart tab?

helior’s picture

That's right. A separate permission was never created for shopping cart – although, at some point it may be a feature request.

rszrama’s picture

Status: Reviewed & tested by the community » Fixed

Committed. : )

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