Just a minor connection in ISSUE2. here it is :-
*
ISSUE2:-*.As a part of single sign on process of XWiki with my
webapplication i am creating empty user with API
context.getWiki().createEmptyUser. But that user is getting added to group
XWikiAllGroup <http://localhost:8888/myxwiki/bin/view/XWiki/XWikiAllGroup>
automatically.Actually I want to decide the default group name where user
will be added by default based on some condition . i am not getting where
should i make the change for this.
---------- Forwarded message ----------
From: mohit gupta <motgupta(a)gmail.com>
Date: Thu, Dec 22, 2011 at 5:24 PM
Subject: XWiki Search not happening even after giving him the proper
rights|| Adding user to different group by default
To: devs(a)xwiki.org
I have two issues when i am trying to integrate my webapplication with
XWiki. One is related to not able to search the content even after giving
the proper rights and another is when .As a part of single sign on process
of XWiki with my webapplication i am creating empty user with API
context.getWiki().createEmptyUser. But that user is getting added to group
XWikiAllGroup <http://localhost:8888/myxwiki/bin/view/XWiki/XWikiAllGroup>
automatically.
I want to add this user to a to a different group say AccentureUserGroup
instead of
XWikiAllGroup<http://localhost:8888/myxwiki/bin/view/XWiki/XWikiAllGroup>.
i am not getting where should i make the change for this. Below are the
details:-
*
*
*Issue1:- *My intention is if an user belongs to particular organisation
and he is just a registered user but not admin user for that organization
say Accenture he should be able to only view and search that organization
spacevotherwise he should not be able to do any operation (not even search
and view) on any other space
*What I Did for to achieve above* :- I as admin created AccentureUser and
AccentureUserGroup . Now i added AccentureUser under AccentureUserGroup.
Also I created the space for this organization with Name AccentureSpace.
Lets come to Rights Management. As there are two level of rights i.e at
Wiki level and Space level.
AT Wiki Level:- I gave only view rights to AccentureUserGroup
AT Space Level:- I gave only view rights to AccentureUserGroup for
AccentureSpace
Now when i log in with AccentureUser credentials, i can see AccentureSpace
space on a page just after log in but i am not able to search any
content(space or page) for this
AccentureSpace . Not Getting Why? Do i need to give any other Right too for
search?
I would be grateful if somebody can provide some insight about above issues
on right management.Already I have gone thru below links but did not get
through the issues
http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement right
management
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights access
and rights
*ISSUE2:-*.As a part of single sign on process of XWiki with my
webapplication i am creating empty user with API
context.getWiki().createEmptyUser. But that user is getting added to group
XWikiAllGroup <http://localhost:8888/myxwiki/bin/view/XWiki/XWikiAllGroup>
automatically.
I want to add this user to a to a different group say AccentureUserGroup
instead of
XWikiAllGroup<http://localhost:8888/myxwiki/bin/view/XWiki/XWikiAllGroup>.
i am not getting where should i make the change for this.
Posted issue 1 on XwikiUser group also but has not got any reply yet.
Looking for quick reply.Thanks in advance.