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.
CommentFileSizeAuthor
#4 3266746-4.patch946 bytesredwan jamous

Issue fork commerce-3266746

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mhawwari created an issue. See original summary.

mhawwari’s picture

Status: Active » Needs review
redwan jamous’s picture

StatusFileSize
new946 bytes

Attaching a patch file from the MR to use with composer...

jsacksick made their first commit to this issue’s fork.

  • jsacksick committed 27e24f03 on 3.0.x authored by mhawwari
    Issue #3266746: Provide access to view rendered currencies without the...

  • jsacksick committed 5819267f on 8.x-2.x authored by mhawwari
    Issue #3266746: Provide access to view rendered currencies without the...
jsacksick’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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