verbb / formie

The most user-friendly forms plugin for Craft CMS.
Other
94 stars 70 forks source link

Permissions claim for email notifications sub-tab items not respecting setting #1977

Closed jonnykates closed 1 month ago

jonnykates commented 1 month ago

Describe the bug

Formie's user permissions claims include some settings to reveal the 'email notification advanced tab', and the 'email notifications templates tab';

Screenshot 2024-07-11 at 13 50 36

These claims do not seem to be respected when applied to a user group. See screenshot below impersonating a non-admin user that is in a user group that should have permission to see these tabs;

Screenshot 2024-07-11 at 13 51 44

Steps to reproduce

  1. Create a user group and give them access to see the advanced and templates tabs on email notifications
  2. Impersonate a non-admin user with those user group claims
  3. Expected behaviour would be to see the 'advanced' and 'templates' tab when editing an email notification for a form

Form settings

Craft CMS version

Craft Pro 5.2.5

Plugin version

3.0.0-beta.16

Multi-site?

No

Additional context

No response

engram-design commented 1 month ago

Fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-5 as 3.0.0-beta.16".

engram-design commented 1 month ago

Fixed in 3.0.0-beta.17