Provide access to view rendered currencies without the need for administer commerce_currency permission

Created on 27 February 2022, over 2 years ago
Updated 23 May 2024, 6 months ago

Describe your bug or feature request.

Users with no permission to administer currencies can't view the currency value when used as a rendered entity in a view or a view mode. Currency is used as a referenced entity field in commerce core in the stores so it would make sense that a user with access to edit the store and not the currencies to be able to view the currency when rendered in a view related to that store.

If a bug, provide steps to reproduce it from a clean install.

  1. On a fresh installation, enable commerce, commerce_price & commerce_store.
  2. Add default currency to the default view mode of online store type /admin/commerce/config/store-types/online/edit/display
  3. Create a new online store with a valid default currency value.
  4. Navigate to the store view as a user with permission to manage stores and no access to administer currencies.
  5. Default currency field value is not displayed.
🐛 Bug report
Status

Fixed

Version

3.0

Component

Price

Created by

🇯🇴Jordan mhawwari

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024