[xwiki-users] Space rights configuration...
Hi all, maybe I'm missing something, but I have problems to assigning rights to a newly created space. When I change to the "Space Rights" tab in the admin panel I have no possibility to enter anything (no drop downs etc.). If I edit the "system" space XWiki I can see them. How am I supposed to enter these rights? I am using Firefox 1.5 on Ubuntu 7.04 to edit the pages. XWiki runs on the same machine with a PostgreSQL 8.2 database. Thanks in advance. Cheers, Aleks
Two very silly questions (and maybe both are yes) 1) Are you logged as the Admin user or a user with Admin rights? 2) If not the Admin user, are you sure your user has full admin rights, and not just rights to the XWiki space? -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Aleksandar Vidakovic Sent: 24 January 2008 17:33 To: [email protected] Subject: [xwiki-users] Space rights configuration... Hi all, maybe I'm missing something, but I have problems to assigning rights to a newly created space. When I change to the "Space Rights" tab in the admin panel I have no possibility to enter anything (no drop downs etc.). If I edit the "system" space XWiki I can see them. How am I supposed to enter these rights? I am using Firefox 1.5 on Ubuntu 7.04 to edit the pages. XWiki runs on the same machine with a PostgreSQL 8.2 database. Thanks in advance. Cheers, Aleks _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Esbach, Brandon wrote:
Two very silly questions (and maybe both are yes) 1) Are you logged as the Admin user or a user with Admin rights? Yes (have created a user with admin rights and tried it with Admin) 2) If not the Admin user, are you sure your user has full admin rights, and not just rights to the XWiki space? Have checked this; I have full rights, but still just see the headings of the rights table.
And I forgot... I'm using XWiki 1.2
OH! And one other thing: do you use the NoScript plugin? -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Aleksandar Vidakovic Sent: 24 January 2008 17:55 To: XWiki Users Subject: Re: [xwiki-users] Space rights configuration... Esbach, Brandon wrote:
Two very silly questions (and maybe both are yes) 1) Are you logged as the Admin user or a user with Admin rights? Yes (have created a user with admin rights and tried it with Admin) 2) If not the Admin user, are you sure your user has full admin rights, and not just rights to the XWiki space? Have checked this; I have full rights, but still just see the headings of the rights table.
And I forgot... I'm using XWiki 1.2 _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Honestly, I don't know what this is nor what it does. I downloaded a vanilla xwiki-enterprise-web-1.2.war and added no plugins. Esbach, Brandon wrote:
OH! And one other thing: do you use the NoScript plugin?
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Aleksandar Vidakovic Sent: 24 January 2008 17:55 To: XWiki Users Subject: Re: [xwiki-users] Space rights configuration...
Esbach, Brandon wrote:
Two very silly questions (and maybe both are yes) 1) Are you logged as the Admin user or a user with Admin rights? Yes (have created a user with admin rights and tried it with Admin) 2) If not the Admin user, are you sure your user has full admin rights, and not just rights to the XWiki space? Have checked this; I have full rights, but still just see the headings of the rights table.
And I forgot... I'm using XWiki 1.2
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Sorry, should have made myself clearer. I noticed you were using Firefox, and was just clarifying whether you use the Firefox plugin called NoScript (check this by going to Tools -> Add-ons). The rights editor on Xwiki uses Ajax, which is essentially script sent to and from the server. What NoScript does, is it disables certain javascript functionality depending on the address you are browsing, and I've seen it do weird stuff with XWiki in the past. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Aleksandar Vidakovic Sent: 24 January 2008 18:00 To: XWiki Users Subject: Re: [xwiki-users] Space rights configuration... Honestly, I don't know what this is nor what it does. I downloaded a vanilla xwiki-enterprise-web-1.2.war and added no plugins. Esbach, Brandon wrote:
OH! And one other thing: do you use the NoScript plugin?
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Aleksandar Vidakovic Sent: 24 January 2008 17:55 To: XWiki Users Subject: Re: [xwiki-users] Space rights configuration...
Esbach, Brandon wrote:
Two very silly questions (and maybe both are yes) 1) Are you logged as the Admin user or a user with Admin rights? Yes (have created a user with admin rights and tried it with Admin) 2) If not the Admin user, are you sure your user has full admin rights, and not just rights to the XWiki space? Have checked this; I have full rights, but still just see the headings
of the rights table.
And I forgot... I'm using XWiki 1.2
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
No, I don't have this plugin installed. Installed plugins are: - Chatzilla - delicious - gTranslate - Download Statusbar - Firebug - Google Gears - Google Reader Watcher - Googlepedia - Scribefire - Webdeveloper Esbach, Brandon wrote:
Sorry, should have made myself clearer. I noticed you were using Firefox, and was just clarifying whether you use the Firefox plugin called NoScript (check this by going to Tools -> Add-ons). The rights editor on Xwiki uses Ajax, which is essentially script sent to and from the server.
What NoScript does, is it disables certain javascript functionality depending on the address you are browsing, and I've seen it do weird stuff with XWiki in the past.
I had an idea (but don't know if it's stupid ;-) Anyway... could it be that there is a page missing in my space. When I edit the space rights I get this URL: http://localhost:8080/xwiki/bin/admin/XXXX/WebPreferences?editor=spacerights... As there is a page "WebPreferences" in the XWiki space (and this one allows me to edit rights) I would expect the same page in my space XXXX. Completely wrong? Thanks again for your help... Aleks Aleksandar Vidakovic wrote:
No, I don't have this plugin installed. Installed plugins are:
- Chatzilla - delicious - gTranslate - Download Statusbar - Firebug - Google Gears - Google Reader Watcher - Googlepedia - Scribefire - Webdeveloper
Esbach, Brandon wrote:
Sorry, should have made myself clearer. I noticed you were using Firefox, and was just clarifying whether you use the Firefox plugin called NoScript (check this by going to Tools -> Add-ons). The rights editor on Xwiki uses Ajax, which is essentially script sent to and from the server.
What NoScript does, is it disables certain javascript functionality depending on the address you are browsing, and I've seen it do weird stuff with XWiki in the past.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Jan 24, 2008, at 7:47 PM, Aleksandar Vidakovic wrote:
I had an idea (but don't know if it's stupid ;-)
Anyway... could it be that there is a page missing in my space. When I edit the space rights I get this URL:
http://localhost:8080/xwiki/bin/admin/XXXX/WebPreferences?editor=spacerights...
As there is a page "WebPreferences" in the XWiki space (and this one allows me to edit rights) I would expect the same page in my space XXXX.
This WebPreferences page is created automatically by the Admin page when you start setting space rights. I've just tried with a vanilla 1.2 release and it worked fine for me so it could be related to your environment somehow. -Vincent
Completely wrong?
Thanks again for your help...
Aleks
Aleksandar Vidakovic wrote:
No, I don't have this plugin installed. Installed plugins are:
- Chatzilla - delicious - gTranslate - Download Statusbar - Firebug - Google Gears - Google Reader Watcher - Googlepedia - Scribefire - Webdeveloper
Esbach, Brandon wrote:
Sorry, should have made myself clearer. I noticed you were using Firefox, and was just clarifying whether you use the Firefox plugin called NoScript (check this by going to Tools -> Add-ons). The rights editor on Xwiki uses Ajax, which is essentially script sent to and from the server.
What NoScript does, is it disables certain javascript functionality depending on the address you are browsing, and I've seen it do weird stuff with XWiki in the past.
Did you solve this? I got the same problem when upgrading from 1.1 M4 to 1.1.2. When editing global and space rights, the button "add access right entry" in the GlobalRightsEditorWelcome panel was missing. I found a workaround to this by opening the WebPreferences page for the space a wanted to add access rights to, selecting "edit objects", and added a XWiki.XWikiGlobalRights object to the page. Today, when looking closer into this, I found that this misbehaviour has something to do with the $xwiki.rightsmanager.defaultUi variable. This variable tells which gui to use for acces management. By inspecting the code of the GlobalRightsEditorWelcome panel, I found that the button only is showed when the following condition is true: #if ($xwiki.rightsmanager.defaultUi == "stable") But for som reason, this variable was undefined, all though I had "xwiki.rights.defaultUi = new" in xwiki.cfg. What is the relationship between xwiki.rightsmanager.defaultUi and xwiki.rights.defaultUi ? I suspect a typo.. I've never seen the new access right manager in my wiki, so there is obviously something wrong here.. However, by modifying the condition: #if(!($xwiki.rightsmanager.defaultUi) || $xwiki.rightsmanager.defaultUi == "stable") everything is back to normal. B Vincent Massol wrote:
On Jan 24, 2008, at 7:47 PM, Aleksandar Vidakovic wrote:
I had an idea (but don't know if it's stupid ;-)
Anyway... could it be that there is a page missing in my space. When I edit the space rights I get this URL:
http://localhost:8080/xwiki/bin/admin/XXXX/WebPreferences?editor=spacerights...
As there is a page "WebPreferences" in the XWiki space (and this one allows me to edit rights) I would expect the same page in my space XXXX.
This WebPreferences page is created automatically by the Admin page when you start setting space rights.
I've just tried with a vanilla 1.2 release and it worked fine for me so it could be related to your environment somehow.
-Vincent
Completely wrong?
Thanks again for your help...
Aleks
Aleksandar Vidakovic wrote:
No, I don't have this plugin installed. Installed plugins are:
- Chatzilla - delicious - gTranslate - Download Statusbar - Firebug - Google Gears - Google Reader Watcher - Googlepedia - Scribefire - Webdeveloper
Esbach, Brandon wrote:
Sorry, should have made myself clearer. I noticed you were using Firefox, and was just clarifying whether you use the Firefox plugin called NoScript (check this by going to Tools -> Add-ons). The rights editor on Xwiki uses Ajax, which is essentially script sent to and from the server.
What NoScript does, is it disables certain javascript functionality depending on the address you are browsing, and I've seen it do weird stuff with XWiki in the past.
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Bjørnar Libæk wrote:
Did you solve this?
I got the same problem when upgrading from 1.1 M4 to 1.1.2. When editing global and space rights, the button "add access right entry" in the GlobalRightsEditorWelcome panel was missing.
I found a workaround to this by opening the WebPreferences page for the space a wanted to add access rights to, selecting "edit objects", and added a XWiki.XWikiGlobalRights object to the page.
Today, when looking closer into this, I found that this misbehaviour has something to do with the $xwiki.rightsmanager.defaultUi variable. This variable tells which gui to use for acces management. By inspecting the code of the GlobalRightsEditorWelcome panel, I found that the button only is showed when the following condition is true: #if ($xwiki.rightsmanager.defaultUi == "stable") But for som reason, this variable was undefined, all though I had "xwiki.rights.defaultUi = new" in xwiki.cfg. What is the relationship between xwiki.rightsmanager.defaultUi and xwiki.rights.defaultUi ? I suspect a typo.. I've never seen the new access right manager in my wiki, so there is obviously something wrong here..
However, by modifying the condition: #if(!($xwiki.rightsmanager.defaultUi) || $xwiki.rightsmanager.defaultUi == "stable") everything is back to normal.
I think this means that the rightsmanager plugin is not enabled. You should not keep the same xwiki.cfg during upgrades, but merge the old file with the new one, as settings tend to change between versions. -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (5)
-
Aleksandar Vidakovic -
Bjørnar Libæk -
Esbach, Brandon -
Sergiu Dumitriu -
Vincent Massol