Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
6.2.1
-
None
-
Unknown
-
Description
Steps to reproduce:
- Login with a normal (non Admin) user
- Go to WikiManager.CreateWiki
- Fill in the fields in both steps
- Click Create
You'll get an error similar to this one:
Wiki "test" creation failed: org.xwiki.security.authorization.AccessDeniedException: Access denied when checking [createwiki] access to [Wiki xwiki] for user [xwiki:XWiki.manuel].
An improvement might be if the user got this error message as soon as he visits WikiManager.CreateWiki. There's no point in letting the user fill in the fields if he doesn't have the right to create a wiki.
Also the error message isn't that user friendly. We could use something like
Unable to create the wiki "test". You don't have the right to create wikis.