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

Code 500 during API connecting for users without full permissions #243

Open
ghost opened this issue Mar 31, 2021 · 0 comments
Open

Code 500 during API connecting for users without full permissions #243

ghost opened this issue Mar 31, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 31, 2021

Hello,
where I send POST API to Mautic for users without full permissions Mautic give me code 500 and this log:
[2021-03-31 16:06:52] mautic.CRITICAL: Uncaught PHP Exception Mautic\CoreBundle\Security\Exception\PermissionNotFoundException: "Nie znaleziono zgody. 'lead:leads:newown' given." at /var/www/mautic/app/bundles/CoreBundle/Security/Permissions/CorePermissions.php line 292 {"exception":"[object] (Mautic\\CoreBundle\\Security\\Exception\\PermissionNotFoundException(code: 403): Nie znaleziono zgody. 'lead:leads:newown' given. at /var/www/mautic/app/bundles/CoreBundle/Security/Permissions/CorePermissions.php:292)"} []

Even if you select all possible options for user in "Role", the problem occurs. It disappears only when I select "full permissions" or give user administrator access.
image

Mautic 3.3.2
PHP 7.4.3


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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

No branches or pull requests

0 participants