[xwiki-users] Section editting access authorization
Hi, I have been testing XWiki over the last few days with the view to using it within our Institution. One thing I haven't been able to do as yet is to put different access rights on individual sections of a document. It seems that XWiki only allocates access rights to the document as a whole. Is this possible and if so how to do it? If it is not yet possible, is likely to be in the future? Thanks in advance Stuart -- View this message in context: http://www.nabble.com/Section-editting-access-authorization-tp18127869p18127... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, You cannot assign different access rights within the same page. The Page is the base unit in XWiki. For your use case you could use different pages and put them all together in a page using includeInContext, see http://code.xwiki.org/xwiki/bin/view/Macros/IncludeInContextMacro On Thu, Jun 26, 2008 at 4:33 PM, StuartP <[email protected]> wrote:
Hi,
I have been testing XWiki over the last few days with the view to using it within our Institution.
One thing I haven't been able to do as yet is to put different access rights on individual sections of a document. It seems that XWiki only allocates access rights to the document as a whole.
Is this possible and if so how to do it?
If it is not yet possible, is likely to be in the future?
Thanks in advance
Stuart -- View this message in context: http://www.nabble.com/Section-editting-access-authorization-tp18127869p18127... Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Jean-Vincent Drean
Hi Stuart, On Jun 26, 2008, at 4:33 PM, StuartP wrote:
Hi,
I have been testing XWiki over the last few days with the view to using it within our Institution.
One thing I haven't been able to do as yet is to put different access rights on individual sections of a document. It seems that XWiki only allocates access rights to the document as a whole.
Is this possible and if so how to do it?
No it's not possible. What you can do is split your doc into several documents and use the #includeInContext() macro to include subdocs into the master doc. See http://code.xwiki.org/xwiki/bin/view/Macros/IncludeInContextMacro
If it is not yet possible, is likely to be in the future?
This is not planned right now. It's the first time someone is asking for this. I personally think that the granularity would be too low especially since we support including documents into other documents. Thanks -Vincent
StuartP wrote:
Hi,
I have been testing XWiki over the last few days with the view to using it within our Institution.
One thing I haven't been able to do as yet is to put different access rights on individual sections of a document. It seems that XWiki only allocates access rights to the document as a whole.
Is this possible and if so how to do it?
It isn't possible with the default code, but it can be added if you write a java class that extends com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl and performs this check. If you are prolific in Java programming, it shouldn't take more than a couple of hours to understand the current rights management class and add what you need.
If it is not yet possible, is likely to be in the future?
By default, no. It's too specific for general usage, and, as the others already said, there's a workaround for this. -- Sergiu Dumitriu http://purl.org/net/sergiu/
OK, Since I am new to the list (and to wiki's in general) I am not sure on the particular etiquette here so this Time I am going to say thanks to everyone for pointing me in the direction of the includeInContext. If it not wished to have thank you messages please let me know. Great product so far. Stuart -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jean-Vincent Drean Sent: Donnerstag, 26. Juni 2008 16:38 To: XWiki Users Subject: Re: [xwiki-users] Section editting access authorization Hi, You cannot assign different access rights within the same page. The Page is the base unit in XWiki. For your use case you could use different pages and put them all together in a page using includeInContext, see http://code.xwiki.org/xwiki/bin/view/Macros/IncludeInContextMacro On Thu, Jun 26, 2008 at 4:33 PM, StuartP <[email protected]> wrote:
Hi,
I have been testing XWiki over the last few days with the view to using it within our Institution.
One thing I haven't been able to do as yet is to put different access rights on individual sections of a document. It seems that XWiki only allocates access rights to the document as a whole.
Is this possible and if so how to do it?
If it is not yet possible, is likely to be in the future?
Thanks in advance
Stuart -- View this message in context: http://www.nabble.com/Section-editting-access-authorization-tp18127869 p18127869.html Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Jean-Vincent Drean _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Jun 27, 2008, at 9:06 AM, Stuart Perryman wrote:
OK,
Since I am new to the list (and to wiki's in general) I am not sure on the particular etiquette here so this Time I am going to say thanks to everyone for pointing me in the direction of the includeInContext.
If it not wished to have thank you messages please let me know.
Thank you message, congratulations message, we love you messages, etc are always appreciated! :) Thanks -Vincent
Great product so far.
Stuart
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jean-Vincent Drean Sent: Donnerstag, 26. Juni 2008 16:38 To: XWiki Users Subject: Re: [xwiki-users] Section editting access authorization
Hi,
You cannot assign different access rights within the same page. The Page is the base unit in XWiki. For your use case you could use different pages and put them all together in a page using includeInContext, see http://code.xwiki.org/xwiki/bin/view/Macros/IncludeInContextMacro
On Thu, Jun 26, 2008 at 4:33 PM, StuartP <[email protected]> wrote:
Hi,
I have been testing XWiki over the last few days with the view to using it within our Institution.
One thing I haven't been able to do as yet is to put different access rights on individual sections of a document. It seems that XWiki only allocates access rights to the document as a whole.
Is this possible and if so how to do it?
If it is not yet possible, is likely to be in the future?
Thanks in advance
Stuart
participants (5)
-
Jean-Vincent Drean -
Sergiu Dumitriu -
Stuart Perryman -
StuartP -
Vincent Massol