Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.x]: User is not permitted to delete this address #3011

Closed
shifuma opened this issue Oct 26, 2022 · 2 comments
Closed

[4.x]: User is not permitted to delete this address #3011

shifuma opened this issue Oct 26, 2022 · 2 comments
Labels
🏠 addresses bug commerce4 Issues related to Commerce v4

Comments

@shifuma
Copy link

shifuma commented Oct 26, 2022

What happened?

Description

I'm getting 'User is not permitted to delete this address' when trying to delete an address belonging to my own user (full admin)

Steps to reproduce

  1. Use the example code from Listing Address
  2. Click 'Delete' in the browser
  3. See error

Also tested with the Commerce example templates on a fresh install and get the same error.

Expected behavior

A user can delete their own address

Actual behavior

Permission error: User is not permitted to delete this address

Craft CMS version

4.3.0

Craft Commerce version

4.1.3

PHP version

8.0

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@shifuma shifuma added commerce4 Issues related to Commerce v4 bug labels Oct 26, 2022
@pdaleramirez pdaleramirez added 🔎 status: investigating Trying to reproduce 🏠 addresses and removed 🔎 status: investigating Trying to reproduce labels Oct 26, 2022
@brandonkelly
Copy link
Member

Thanks for reporting that! This ended up being a Craft CMS bug, and we’ve fixed it for the next release.

@brandonkelly
Copy link
Member

Craft 4.3.1 is out with the fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏠 addresses bug commerce4 Issues related to Commerce v4
Projects
None yet
Development

No branches or pull requests

3 participants