A Registered User Cannot Create a Top Level File Gallery
- Status
- Closed
- Subject
- A Registered User Cannot Create a Top Level File Gallery
- Version
- 3.x
- Category
- Error
- Usability
- Feature
- File Gallery (elFinder or standard UI)
- Resolution status
- Fixed or Solved
- Submitted by
- Ed
- Lastmod by
- Ushindi Gedeon
- Rating
- Description
Admins can easily create file galleries once the feature is enabled. A registered user - even when granted "admin" privileges for file galleries — cannot create a top-level (i.e. just below default "File Galleries" Gallery, which is "0") gallery, without an error. The user can, however, create galleries within any gallery that resides directly under the top-level gallery (or in any nested gallery).
The error message is as follows:
Notice: invalid variable value: $_GET%22parentId%22 = -1
Maybe some problem with the parentId when it comes to non-admin users?
- Solution
- Enable the "tiki_p_trust_input" permission for the Registered user. This may cause other security problems, though (?). Once this permission is enabled, the error described above goes away.
- Workaround
- Importance
- 7
- Priority
- 35
- 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
- 2699
- Created
- Wednesday 26 August, 2009 21:36:35 UTC
by Unknown - LastModif
- Thursday 28 May, 2026 13:19:04 UTC