Summary: | Users with 'execute_reports' permission can create reports 23.11 and lower | ||
---|---|---|---|
Product: | Koha | Reporter: | Nick Clemens (kidclamp) <nick> |
Component: | Reports | Assignee: | Lisette Scheer <lisette> |
Status: | RESOLVED FIXED | QA Contact: | Testopia <testopia> |
Severity: | major | ||
Priority: | P5 - low | CC: | blawlor, dcook, didier.gautheron, fridolin.somers, jonathan.druart, katrin.fischer, laurent.ducos, lisette, lucas, m.de.rooy, martin.renvoize, nick, phil, philippe.blouin, tomascohen, wainuiwitikapark |
Version: | Main | Keywords: | rel_23_11_candidate |
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37683 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
23.11.10,23.05.16,22.11.22
|
|
Circulation function: | |||
Attachments: |
Bug 37737: [23.11] Fixed report permissions to prevent not allowed duplication
Bug 37737: [23.11] Fixed report permissions to prevent disallowed duplication Bug 37737: [23.11] Fixed report permissions to prevent disallowed duplication Bug 37737: [23.11] Fixed report permissions to prevent disallowed duplication |
Description
Nick Clemens (kidclamp)
2024-08-26 18:06:09 UTC
Yeah the reports permissions are a bit of a mess :( Created attachment 170891 [details] [review] Bug 37737: [23.11] Fixed report permissions to prevent not allowed duplication Made the run report permission explicit else { - $flagsrequired = '*'; } Is this on purpose ? Empty else o_O (In reply to Fridolin Somers from comment #3) > else { > - $flagsrequired = '*'; > } > > Is this on purpose ? > Empty else o_O No, no it was not. I'll fix it and do a new patch. Created attachment 171232 [details] [review] Bug 37737: [23.11] Fixed report permissions to prevent disallowed duplication Test plan: 1. Checkout 23.11 2. Create a report 3. Create a user with staff login and run reports permissions 4. Log in as your new user 5. Preview the SQL of the report 6. In the preview modal, select Duplicate report 7. Apply patch 8. Repeat steps 4-6. 9. You should be prompted to login. Created attachment 171418 [details] [review] Bug 37737: [23.11] Fixed report permissions to prevent disallowed duplication Test plan: 1. Checkout 23.11 2. Create a report 3. Create a user with staff login and run reports permissions 4. Log in as your new user 5. Preview the SQL of the report 6. In the preview modal, select Duplicate report 7. Apply patch 8. Repeat steps 4-6. 9. You should be prompted to login. Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org> Created attachment 171619 [details] [review] Bug 37737: [23.11] Fixed report permissions to prevent disallowed duplication Test plan: 1. Checkout 23.11 2. Create a report 3. Create a user with staff login and run reports permissions 4. Log in as your new user 5. Preview the SQL of the report 6. In the preview modal, select Duplicate report 7. Apply patch 8. Repeat steps 4-6. 9. You should be prompted to login. Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Sorry i missed this one for 23.11.09, will be in 23.11.10 Applied to 23.05.x-security for 23.05.16 Verified that the Version(s) released in: 22.11.22 was true. |