[xwiki-users] Private Wiki vs Login Page
Hi together, we try to achieve this scenario: - Private Wiki as a collaborative Intranet - Real restricted mode: only logged in user can see content We "black-checked" wiki rights for non registered users. So far so good, they don't see content unless they logged in as a valid user. What is not working properly is the login page. Logo is broken, and a couple of errors in browsers debug window: Failed to load resource: the server responded with a status of 401 (Unauthorized) Of course our unregistered user does not have the rights to access ressources - so how can we achieve a proper clean and error free login page? Do we miss a basic concept in xwiki? Extensive reserach does not bring any satisfying strategies... XWiki-Version 7.1-rc-1 -- View this message in context: http://xwiki.475771.n2.nabble.com/Private-Wiki-vs-Login-Page-tp7595071.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Tobias, On 9 Jun 2015 at 18:45:45, Tobias Kirchhofer ([email protected](mailto:[email protected])) wrote:
Hi together,
we try to achieve this scenario:
- Private Wiki as a collaborative Intranet - Real restricted mode: only logged in user can see content
We "black-checked" wiki rights for non registered users. So far so good, they don't see content unless they logged in as a valid user.
What is not working properly is the login page. Logo is broken, and a couple of errors in browsers debug window: Failed to load resource: the server responded with a status of 401 (Unauthorized)
Of course our unregistered user does not have the rights to access ressources - so how can we achieve a proper clean and error free login page?
Do we miss a basic concept in xwiki? Extensive reserach does not bring any satisfying strategies...
XWiki-Version 7.1-rc-1
Could this thread help: http://markmail.org/message/iqsw5cppmb3nxtqe ? Thanks -Vincent
Vincent, thanks for the reply, is it like adding this ominous XWikiGuest user and manage permissions for all spaces and pages?? Could you give me a deeper insight, a small howto? Tobias On 9 Jun 2015, at 18:52, [email protected] wrote:
Hi Tobias,
On 9 Jun 2015 at 18:45:45, Tobias Kirchhofer ([email protected](mailto:[email protected])) wrote:
Hi together,
we try to achieve this scenario:
- Private Wiki as a collaborative Intranet - Real restricted mode: only logged in user can see content
We "black-checked" wiki rights for non registered users. So far so good, they don't see content unless they logged in as a valid user.
What is not working properly is the login page. Logo is broken, and a couple of errors in browsers debug window: Failed to load resource: the server responded with a status of 401 (Unauthorized)
Of course our unregistered user does not have the rights to access ressources - so how can we achieve a proper clean and error free login page?
Do we miss a basic concept in xwiki? Extensive reserach does not bring any satisfying strategies...
XWiki-Version 7.1-rc-1
Could this thread help: http://markmail.org/message/iqsw5cppmb3nxtqe ?
Thanks -Vincent
-- Tobias Kirchhofer [email protected]
Meanwhile we solved the issue: - No view permissions for XWikiGuest on wiki level - Edit startpage.vm: #if ($xcontext.user != 'XWiki.XWikiGuest') #if($displayMainMenu) <div id="menuview"> #template("menus_view.vm") </div> #end #end - Some more minor tweaks in login.vm What is left are six errors in the browser debug window: Failed to load resource: the server responded with a status of 401 (Unauthorized) http://wiki.fra.shift.agency/xwiki/bin/login/XWiki/XWikiLogin?srid=N214sE8S…%2Fbin%2Fssx%2FAnnotationCode%2FSettings%3Flanguage%3Dde%26srid%3DN214sE8S Failed to load resource: the server responded with a status of 401 (Unauthorized) http://wiki.fra.shift.agency/xwiki/bin/login/XWiki/XWikiLogin?srid=4Y4kLi2D…i%2Fbin%2Fjsx%2FCKEditor%2FEditMenuEntry%3Flanguage%3Dde%26srid%3D4Y4kLi2D Failed to load resource: the server responded with a status of 401 (Unauthorized) http://wiki.fra.shift.agency/xwiki/bin/login/XWiki/XWikiLogin?srid=lMahZtTx…ki%2Fbin%2Fjsx%2FAnnotationCode%2FScript%3Flanguage%3Dde%26srid%3DlMahZtTx Failed to load resource: the server responded with a status of 401 (Unauthorized) http://wiki.fra.shift.agency/xwiki/bin/login/XWiki/XWikiLogin?srid=bQAoWhzJ…%2Fbin%2Fjsx%2FAnnotationCode%2FSettings%3Flanguage%3Dde%26srid%3DbQAoWhzJ Failed to load resource: the server responded with a status of 401 (Unauthorized) http://wiki.fra.shift.agency/xwiki/bin/login/XWiki/XWikiLogin?srid=OV83gKnm…iki%2Fbin%2Fssx%2FAnnotationCode%2FStyle%3Flanguage%3Dde%26srid%3DOV83gKnm Failed to load resource: the server responded with a status of 401 (Unauthorized) http://wiki.fra.shift.agency/xwiki/bin/login/XWiki/XWikiLogin?srid=N214sE8S…%2Fbin%2Fssx%2FAnnotationCode%2FSettings%3Flanguage%3Dde%26srid%3DN214sE8S Failed to load resource: the server responded with a status of 401 (Unauthorized) I think we have to write our one login page without ressources from inside the wiki. What do you think? Thanks again for your very valuable support! Tobias -- View this message in context: http://xwiki.475771.n2.nabble.com/Private-Wiki-vs-Login-Page-tp7595071p75951... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
Tobias Kirchhofer -
vincent@massol.net