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

Issue with user permissions #3

Closed
pixelmachine opened this issue Sep 8, 2019 · 8 comments
Closed

Issue with user permissions #3

pixelmachine opened this issue Sep 8, 2019 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@pixelmachine
Copy link

I've setup a simple report, which works correctly for my user.

Steps to reproduce the behavior:

  1. Enable a limited user to only Run and Export from craft-reports.
  2. Login as the user
    3a. Reports is accessible, Export works, Run does not work and redirects to the index.
    3b. There is a still a link on the report name linking to a page that is inaccessible.

Obviously Run should work and I think there should be no link on the report name.

@pixelmachine pixelmachine added the bug Something isn't working label Sep 8, 2019
@sjelfull
Copy link
Member

sjelfull commented Sep 9, 2019

Thanks, I'll release a fix for this very soon.

@mark-adigital
Copy link

Hi - I'm seeing an issue with permissions too, however in my case I can't even access the reports section of the CMS with my limited user, regardless of which permissions I grant them.

@sjelfull
Copy link
Member

No surprise there - after looking into this, I noticed it had some glaring problems with the way it is setup.

I'm currently reworking it. Hope to cut a release with this + a few other fixes early next week.

@sjelfull sjelfull reopened this Sep 19, 2019
@mark-adigital
Copy link

Ok, thanks for the speedy response!

@mark-adigital
Copy link

Hi - just wondered if there was any update on when a new release addressing this may be out? Thanks.

@sjelfull
Copy link
Member

Sorry about the delay on this. I'll be tagging a new release today that should fix this. Note that you need to set the permissions again, as I have simplified them somewhat and changed names.

Let me know if all is good after the update.

@mark-adigital
Copy link

No worries, thanks for the release! All looks good, though I did spot after running a report that there's a breadcrumb link to edit it which the user may not have access to do, in which case they see an unauthorised error - not a dealbreaker though.

@sjelfull
Copy link
Member

Good to hear that. The link will be fixed in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants