permission check problem with Draw in File Galleries
- Status
- Closed
- Subject
- permission check problem with Draw in File Galleries
- Version
- 12.x
- Category
- Error
- Feature
- Draw (SVG-edit)
File Gallery (elFinder or standard UI) - Resolution status
- Fixed or Solved
- Submitted by
- Geoff Brickell
- Volunteered to solve
- Jonny Bradley
- Lastmod by
- Geoff Brickell
- Rating
- Description
When the Draw feature is 'on' the File Gallery listing (tiki-list_file_gallery.php) shows the "Create Drawing" button after correctly checking in tiki-list_file_gallery.tpl that the the feature is 'on' and the user has upload permission for the specific gallery
However another permission check is made in tiki-edit_draw.php (line 63 onwards) but it seems to be only a global permission check so if the user has upload permission given by categorisation the button is shown but then the .php code gives an error message saying that the use does not have permission.
The permission check in tiki-edit_draw.php should therefore be extended to check for category (and perhaps object ? ) permission
- Solution
-
Fixed - thanks
- Importance
- 10 high
- Easy to solve?
- 5
- Priority
- 50
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5077
- Created
- Saturday 28 December, 2013 20:04:24 UTC
by Geoff Brickell - LastModif
- Thursday 20 February, 2014 19:26:55 UTC