Hi,
I will be at the CISIS conference (http://www.cisis.com.cn/) next
week. I will share the stand of ObjectWeb (A112) with Exo Platform and
representative of ObjectWeb. I will not be every day on the stand, so
send me a mail or call me (13940880590) to tell me when you are
coming. This conference is in Dalian (Liaoning province, China).
If you want to come to discuss about wikis, XWiki, Open Source, you are welcome.
And, i'm in China until maybe the end of August, so if you want to
talk about XWiki and meet, contact me.
Jérémi
When setting up access rights for a space, in the access rights
editor, there's always a line that reads "XWiki.XWikiGlobalRights".
What does this represent? Is there a global rights setting somewhere?
Also, is there any way to give all rights instead of specifying:
view, edit, comment, admin
I've also seen reference to a right called "programming". Does this
exist? Are there others? Sorry for the barage of questions. Just
trying to get my head around it all.
-jeff
Thanks for you help. I was able to go in as superadmin. I went and added the
admin rights back again. However, I don't know why the XWiki.XWikiAllGroup
permission isn't working. If I logged on as a regular user, I still get "You are
not allowed to view this document or perform this action." Also, on the right
upper corner, where it should display after login "Hello <name>," it's now
displaying "Hello $docuser.display("first_name","view", $objuser)."
I don't know what I did wrong. This is what I did in the XWiki Access Right
Groups: XWiki.XWikiAllGroup
Access Levels: view, edit
Users:
Allow/Deny: Allow
Under User Administration Groups, I do have XWiki.XWikiAllGroup and there are
the list of members.
Thanks a lot for the help!
-----Original Message-----
From: Srinivasa Pulugurtha [mailto:pulugurtha@gmail.com]
Sent: Tuesday, June 13, 2006 12:39 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Xwiki Access Right help
Please enable 'superadmin' with somepassword in the application. This can be
defined in xwiki.cfg.
Then you can use this to restore your account and admin privilages.
eg.
xwiki.superadminpassword=toto "
.. to activate the "superadmin" user with password "toto"
HTH,
Srini
On 6/13/06, schen8(a)partners.org < <mailto:schen8@partners.org>
schen8(a)partners.org> wrote:
Hi,
I am the admin of our dept wiki and I did something stupid. I accidentally
deleted myself from the Access Right list. I have limited access to a lot of
pages now and I can't add myself back. Any help is appreciated. Thanks!
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
To unsubscribe: mailto: <mailto:xwiki-users-unsubscribe@objectweb.org>
xwiki-users-unsubscribe(a)objectweb.org
For general help: mailto: sympa(a)objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Hello,
I've tried to install the tag cloud scripts into my installation of
XWiki, but I cannot seem to get them to work? I created the
XWiki.TagScript and XWiki.TagMacro pages. Is there something else I
need to besides just create them? Do I need to set any other settings?
Do I need any other pages/scripts?
Thanks,
-jeff
Apparently this feature is "missing" in 0.9.840. I don't know what's in
the source versions now.
I got around this problem by assigning privileges for the group to a page,
and then checking for access to that page (less code).
Ludovic sent me the following script, which I believe is a more direct
answer to your question:
Currently there is no xwiki API for groups (it's missing).. But this works:
#set($ismember = false)
#set($groupdoc = $xwiki.getDocument("XWiki.MyGroup"))
#set($memberobj = $groupdoc.getObjects("XWiki.XWikiGroups"))
#foreach($mobj in $memberobj)
#set ($member = $groupdoc.display("member", "view", $mobj))
#if($member == $context.user)
#set($ismember = true)
#end
#end
#if($ismember==true)
do your stuff
#end
Don't forget to flush the cache after changing the members in a group.
It's another "bug" in 0.9.840.
Good luck!
-Nate
-----Original Message-----
From: Jeff Ousley [mailto:jousley@gmail.com]
Sent: Wednesday, June 14, 2006 7:12 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] check for group membership
Hello,
Is there a way via velocity to check whether or not a user has
membership in a particular group? Could someone provide or point me to
examples of this.
Thanks!
-jeff
Hello,
I now know how XWD_ID is created, but I'm not seeing how XWA_ID is
created for the three attachment tables. What is this column based on?
As I said in my other posts, I'm trying to create some backend utility
scripts. So far everything works, except where attachments are
concerned.
Thanks!
-jeff
Hello, I would like to detect orphaned pages, but not only pages without parent but also pages with a non-existent/deleted parent page.
I do something like this (in a loop on all docs) in velocity:
[WIKI]
$xwiki.getDocument($bentrydoc.getParent()).getName()
[/WIKI]
Problem is: $bentrydoc.getParent() refers to a page that was deleted, but still getName() returns the page name, and I couldn't find a .exists() member on Document object ...
How can I achieve this ?
Thks,
Jérémie
-----------------------------
I restarted Tomcat services, but I'm still getting the same message. Please
help..
Thanks!
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Wednesday, June 14, 2006 8:39 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Xwiki Access Right help
No,
I mean clear the cache from the wiki. Restarting tomcat will do it
Ludovic
Chen, Shu-Dan a écrit :
> I did that, but it still didn't work. I still get the same message as I
> described below. Just so I am not misunderstanding what you're saying, you
mean
> to clear the cache from the browser right?
>
> Further help would be very much appreciated! Thanks...
>
> -----Original Message-----
> From: Ludovic Dubost [mailto:ludovic@xwiki.com]
> Sent: Tuesday, June 13, 2006 5:04 PM
> To: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] Xwiki Access Right help
>
>
>
> You might want to restart or flush the cache. In XWiki 0.9.840 there are
> some cache issues with groups
>
> Ludovic
>
> Chen, Shu-Dan a écrit :
>
>> Thanks for you help. I was able to go in as superadmin. I went and
>> added the admin rights back again. However, I don't know why the
>> XWiki.XWikiAllGroup permission isn't working. If I logged on as a
>> regular user, I still get "You are not allowed to view this document
>> or perform this action." Also, on the right upper corner, where it
>> should display after login "Hello <name>," it's now displaying "Hello
>> $docuser.display("first_name","view", $objuser)."
>>
>> I don't know what I did wrong. This is what I did in the XWiki Access
>> Right
>>
>> Groups: XWiki.XWikiAllGroup
>> Access Levels: view, edit
>> Users:
>> Allow/Deny: Allow
>>
>> Under User Administration Groups, I do have XWiki.XWikiAllGroup and
>> there are the list of members.
>>
>> Thanks a lot for the help!
>>
>> -----Original Message-----
>> *From:* Srinivasa Pulugurtha [mailto:pulugurtha@gmail.com]
>> *Sent:* Tuesday, June 13, 2006 12:39 PM
>> *To:* xwiki-users(a)objectweb.org
>> *Subject:* Re: [xwiki-users] Xwiki Access Right help
>>
>> Please enable 'superadmin' with somepassword in the application.
>> This can be defined in xwiki.cfg.
>> Then you can use this to restore your account and admin privilages.
>> eg.
>> xwiki.superadminpassword=toto "
>> .. to activate the "*superadmin*" user with password "toto"
>>
>>
>> HTH,
>> Srini
>>
>> On 6/13/06, *schen8(a)partners.org <mailto:schen8@partners.org>* <
>> schen8(a)partners.org <mailto:schen8@partners.org>> wrote:
>>
>> Hi,
>>
>> I am the admin of our dept wiki and I did something stupid. I
>> accidentally deleted myself from the Access Right list. I have
>> limited access to a lot of pages now and I can't add myself
>> back. Any help is appreciated. Thanks!
>>
>>
>>
>>
>> --
>> You receive this message as a subscriber of the
>> xwiki-users(a)objectweb.org <mailto:xwiki-users@objectweb.org>
>> mailing list.
>> To unsubscribe: mailto: xwiki-users-unsubscribe(a)objectweb.org
>> <mailto:xwiki-users-unsubscribe@objectweb.org>
>> For general help: mailto:sympa@objectweb.org
>> <mailto:sympa@objectweb.org>?subject=help
>> ObjectWeb mailing lists service home page:
>> http://www.objectweb.org/wws
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
>>
> mailing list.
>
>> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
>> For general help: mailto:sympa@objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>
>>
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic