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

Users with the 'Digital Products -> Manage licenses' permissions cannot edit and/or delete licenses #105

Closed
berrytimmermans opened this issue Dec 17, 2024 · 4 comments

Comments

@berrytimmermans
Copy link

Description

Users with the 'Digital Products -> Manage licenses' permissions cannot edit and/or delete licenses. All options after selecting a license are disabled.

Steps to reproduce

  1. Grant a user group (Settings > Users > User Groups) all permissions for the Digital Products plugin.
    Image

  2. Log in as a user within this user group and try to edit or delete a license.
    Image

Additional info

  • Craft version: 4.13.6
  • PHP version: 8.1.26
  • Database driver & version: MariaDB 10.5.23
  • Plugins & versions:
  • Craft Commerce 4.7.1
  • Digital Products 3.2.3
  • Freeform 5.8.2
  • Link Vault 4.0.5
  • Mollie for Craft Commerce 4.2.0
  • Redactor 3.1.0
  • Redactor Anchors 1.5.0
@nfourtythree nfourtythree self-assigned this Feb 3, 2025
nfourtythree added a commit that referenced this issue Feb 3, 2025
…digital-products-manage-licenses-permissions

Fixed #105 incorrect check of manage licenses permission
@nfourtythree
Copy link
Contributor

Hi @berrytimmermans

Thank you for bringing this to our attention. We have pushed up a fix for this which will be included in the next release of Digital Products.

To get this early, change your craftcms/commerce requirement in your project's composer.json to:

"require": {
  "craftcms/digital-products": "3.x-dev as 3.2.3",
  "...": "..."
}

Then run composer update.

We will update this issue again when it has been fully released, thanks!

@nfourtythree
Copy link
Contributor

Thank you for raising this with us. We have just pushed version 3.2.4 of the Digital Products plugin which fixes this issue.

Running composer update in your project should get you the latest version and have things working for you.

Thanks!

@berrytimmermans
Copy link
Author

Thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants