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