Hi all,
Regarding the rights issue which i had just posted, it seem that only users which belong to a group that has "admin" rights (either in DOCUMENT or SPACE or GLOBAL) is able to change the access rights and take effect.
Any other users who have the "edit" rights (either in DOCUMENT or SPACE or GLOBAL) attempt to change the access right will not have any effect even those the user is able to see the changes set in the access rights page.
Is it possible for user who have "edit" rights only (either in DOCUMENT or SPACE or GLOBAL) to make changes to the access rights for the document and take effect immediately?
Is it possible to do it programmatically and how do you go about in achiving this?
Regards,
Colin
______________________________________________________________________
Search, browse and book your hotels and flights through Yahoo! Travel.
http://sg.travel.yahoo.com
I'm trying to get to the database schema page on xwiki.org and I get a
"not allowed to view this document" error. How can I access the schema
documentation?
Thanks
Jeff
Hi all.
I had implemented the copy of rights from the document space preferences to the individual document as the user created a new document.
For example, the document space preferences have the following rights:
document name: ABC.WebPreferences
group: A_ADMIN
rights: view, comment, edit
And if the user XYZ (member of A_ADMIN group) who wants to create a new document name "Hello" in ABC space, the rights of A_ADMIN in ABC.WebPreferences should be copied
over to "Hello" document. However, after creating the document, user XYZ was unable to view the newly created document despite it has the rights. I reconfirmed that user XYZ have the
rights to view the document Hello as i login using Admin to verify. These changes are done in SaveAction.java file by appending the code as fellow:
.......
if(tdoc.isNew()) {
// copy all the rights the user is member of from the space.WebPreferences document
tdoc.createNewObject("XWiki.XWikiRights", context);
com.xpn.xwiki.objects.BaseObject bobject = tdoc.getObject("XWiki.XWikiRights", counter); // where counter will start from 0 and then ++++
bobject.setStringValue("allow", 1);
bobject.setStringValue("groups", VALUE_FROM_Space.WebPreferences);
bobject.setStringValue("levels", VALUE_FROM_Space.WebPreferences);
}
tdoc.setMetaDataDirty(true);
xwiki.saveDocument(tdoc, tdoc.getComment(), tdoc.isMinorEdit(), context);
XWikiLock lock = tdoc.getLock(context);
if(lock != null)
tdoc.removeLock(context);
FYI: I am using Oracle 10gR1 as the backend database and xwiki rev 9145
Regards,
Colin
______________________________________________________________________
Search, browse and book your hotels and flights through Yahoo! Travel.
http://sg.travel.yahoo.com
I'm running xwiki in RAD 6.1 and I've set up preferences to be multi
lingual, languages of es, en and default language of en. When I visit
any of the wiki pages, only En appears in the top right, not En and Es.
Is there something I'm missing about setting up the wiki as
multi-lingual?
Thanks,
Jeff
Hello devs!
As you probably noticed from Vincent's fwd, I`m in! :)
I`m really looking forward to working on the Offline project under Sergiu's coordination and I hope to get a lot of cooperation from the community to make a better solution for the people who use and need it.
My IRC nick is Enygma` (Enygma was taken :P), my YM is Enygma2002_ro and my SkypeID is Enygma2002.
Please feel free to contact me anytime.
This is going to be a cool summer of code! :)
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
Hi guys,
My name is Ecaterina Valică and I am also a GSoc student. I'm gonna work with Anca Luca Paula to make XWatch the nicest thing alive :P
We are going to work on pimpin' it with style, interaction patterns and principles that are going to be implemented with GWT and YUI.
I'm from Iasi, Romania and I hope I can learn many things this summer and make new friends throught this program.
"Spor" in romanian means "enjoy your work and be very productive" (so much words in english)
You can call me Caty :)
Bye
----- Original Message ----
From: Enygma <enygma2002_ro(a)yahoo.com>
To: XWiki Developers <devs(a)xwiki.org>
Sent: Tuesday, April 22, 2008 9:26:41 PM
Subject: Re: [xwiki-devs] [ANN] Official Google Summer of Code projects
Hello devs!
As you probably noticed from Vincent's fwd, I`m in! :)
I`m really looking forward to working on the Offline project under Sergiu's coordination and I hope to get a lot of cooperation from the community to make a better solution for the people who use and need it.
My IRC nick is Enygma` (Enygma was taken :P), my YM is Enygma2002_ro and my SkypeID is Enygma2002.
Please feel free to contact me anytime.
This is going to be a cool summer of code! :)
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
The XWiki development team is pleased to announce the release of XWiki
Workspaces 1.0 RC 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the second, and hopefully last release candidate for the 1.0
version of XWiki Workspaces. This RC 2 release is based on the recent
XWiki Enterprise 1.3.2 release.
Bug we've fixed in XWS since 1.0 RC 1 :
* XWS-10 - Missing validation on workspaces creation form
* XWS-14 - Document creation lightboxes not visibles if the page is scrolled
* XWS-18 - Gallery editing page is a bit screwed up in IE6 & IE7
* XWS-40 - Lightboxes are displayed _real_ bad in IE6
* XWS-44 - Problem with the item creation popup : when we "Cancel & Close"
(the X in the upper-right corner) we are redirected to "undefined"
* XWS-45 - After a registration we should be redirected to
XWSAdmin.ManageUsers (instead of just having an empty page with the
"Registration Successfull" message)
* XWS-48 - The new workspace creation form could be a bit reskinned (on
the XWS.MySpaces page)
* XWS-51 - A user should not be allowed to delete Himself from his
Personnal Space
* XWS-52 - The Administrator (Admin / admin) should not be displayed OR
not be allowed to remove himself from the Admin list of the Organization
Space
* XWS-53 - If we have a workspace title on more than 1 line (around more
than 45-50 characters - space included) the layout is a bit broken
* XWS-57 - Problem when we create a link to a image page - parameter
'viewer=image' is missing
* XWS-67 - There is two links leading to the current user profile in the
top action bar
* XWS-68 - Workspace creation form should be under the workspace list
* XWS-71 - The "Comments" message is too big compared to page title and
other font sizes
* XWS-73 - Under IE browsers, the Admin XWiki toolbar does not work properly
* XWS-75 - Preview fails on unsaved (new) blog article
* XWS-76 - Non-admin registered users can edit but not view their profile
* XWS-78 - Layout issue in edit mode under IE6 (white banner on top +
scrolling disappearing)
For more information, see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesWorkspaces10RC2
Regards,
The XWiki dev team