Permissions : advanced feature: level configuration : it should be impossible to create blank level
- Status
- Closed
- Subject
- Permissions : advanced feature: level configuration : it should be impossible to create blank level
- Version
- 1.9.x
- Category
- Error
- Feature
- Permission
- Resolution status
- Out of Date
- Submitted by
- Marc Laporte
- Lastmod by
- Marc Laporte
- Rating
- Description
In tiki-assignpermission.php, if you create a blank level and then, you have blank levels for some permissions, you will get an error like:
Copy to clipboardThe XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. -------------------------------------------------------------------------------- Only one top level element is allowed in an XML document. Error processing resource 'tiki-assignper... <b>Notice</b>: Undefined index: tiki_p_take_quiz in <b>tiki-...
And you can't via the interface re-assign the level to that permission. You need to clean the mess in phpmyadmin
If you have phpmyadmin, to reset permissions to original state:2- find "Table structure for table users_permissions"
and copy/paste that section (just that section) in sql commands
lines 4001 to 4191
reported by johnh on #tikiwikiMaybe 1.10 is affected as well...
- 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
- 1693
- Created
- Saturday 12 April, 2008 23:27:14 UTC
by Unknown - LastModif
- Friday 15 January, 2010 18:48:18 UTC