[xwiki-users] new wiki request

2015-11-17 Thread Mark Bickford
description: personal research project
owner name: Mark Bickford
wiki name: mbickford.mywiki.org
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [XWiki 7.3] Problem with group rights

2015-11-17 Thread Clemens Klein-Robbenhaar

 Actually this looks completely as expected - in both cases. If you see request 
coming in the localhost_access_log, my guess about some javascript error is out.

The special rights for the anonymous user are stored as flags in the 
"XWiki.XWikiPreferences" object; this reuses the normal XWiki "save" action by 
POST-ing the values.
Good they are saved :)

The detailed group / user rights instead create a separate 
"XWiki.XWikiGlobalRights" in the preferences page, which contains detailed 
information about what groups/user get what right, etc)
This is saved by a separate helper template (templates/saverights.vm on the 
file system) that does ... something more complicated.
If you see no error in the UI and get back a status of 200  the helper template 
finished to do its job properly, however.


You can check what happens behind the scenes in the following page (the "object 
editor"):

   /xwiki/bin/edit/XWiki/XWikiPreferences?editor=object

Can you try to check in a separate browser tab if anything changes with the 
"XWiki.XWikiGlobalRights" when you set a right in the admin
(You need to reload the "object editor" page manually after every change, it 
does not automatically update itself.)

The easiest way to check is if you create a new group first, and then only give 
it the "delete" right - this is most likely a new combination
and should create a new "XWiki.XWikiGlobalRights" visible in the object editor.

Alternatively you can check that a new page version is created at:  
/xwiki/bin/view/XWiki/XWikiPreferences?viewer=history


If this is happening, then the data is actually saved; the problem is actually 
why it is not properly displayed when you visit the "Rights" page again.

If this is not happening, the server refuses to store the data (very odd).


I hope we are getting closer slowly ;)
Clemens



Iago Lluque wrote:  at: 17.11.2015, 17:35
> Hi again,
> 
> FYI I am running XWiki in Tomcat and MySQL, clean install (not migration).
> 
> Well, I've been playing with browser console as Clemens suggested and I can't 
> see any error in client side.
> 
> I think request is reaching server as I can read the following both in 
> *Network tab in Firefox* and in *localhost_access_log* when I check any of 
> the group rights:
> /*GET* 
> /xwiki/bin/view/XWiki/XWikiPreferences?xpage=saverights&clsname=XWiki.XWikiGlobalRights&fullname=XWiki.TestGroup&uorg=groups&form_token=F1Tx3ax0rIGsf8noimHySQ&action=allow&right=view
>  HTTP/1.1" 200 7/
> 
> However, unregistered user rights (the ones below group table rights) are 
> working fine! Note that I can see a different behavior in this case: POST 
> instead of GET. As follows:
> /*POST* 
> /xwiki/bin/save/XWiki/XWikiPreferences?form_token=F1Tx3ax0rIGsf8noimHySQ 
> HTTP/1.1" 204 -/
> 
> I thougth issue was related just with group rights but it happens also with 
> user rights (except for unregistered ones).
> 
> If I can help you with more info just ask it!
> 
> ASOL Email Un cordial saludo,
> Iago Lluque
> /
> *Alínea Software Solutions S.L.*
> Travesía del Comercio 3, 2º 36002 Pontevedra España
> Tel: +34 986 845 699
> Email: i...@alineasol.com 
> Web: http://www.alineasol.com
> /
> El 17/11/2015 a las 12:31, Clemens Klein-Robbenhaar escribió:
>>> Hi all,
>>>
>>> I'm trying the new stable version of XWiki (7.3) and I'm facing problems 
>>> with group rights.
>>> I'm unable to keep them set, as if I leave Rights page and then come back 
>>> again all rights I've tuned up remain unset (reseted to "default" I 
>>> think...)
>>>
>>> Is anybody else having this issue? Any workaround?
>>>
>>> Thanks in advance!
>> To me it looks like your changes are not stored on the server.
>> Can you see if you get any errors in the Javascript console (Ctrl-Shift-J in 
>> most browsers) when setting rights?
>>
>> The same browser tools often have a "Network" tab. Do you see any network 
>> traffic there when setting rights?
>> (every time you click on a setting, there should be at least one bit of 
>> network traffic sending your changes to the server instantly)
>>
>> It would be great if you could post your findings as this will help to 
>> reproduce the problem.
>>
>> Clemens
>>
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

mit freundlichen Grüßen
Clemens Klein-Robbenhaar

-- 
Clemens Klein-Robbenhaar
Software Development
EsPresto AG
Breite Str. 30-31
10178 Berlin/Germany
Tel: +49.(0)30.90 226.763
Fax: +49.(0)30.90 226.760
robbenh...@espresto.com
www.espresto.de

HRB 77554 B - Berlin-Charlottenburg
Vorstand: Maya Biersack, Peter Biersack
Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber
Zertifiziert nach ISO 9001:2008
___
users mailing list
users@xwiki.or

Re: [xwiki-users] [XWiki 7.3] Problem with group rights

2015-11-17 Thread Iago Lluque

Hi again,

FYI I am running XWiki in Tomcat and MySQL, clean install (not migration).

Well, I've been playing with browser console as Clemens suggested and I 
can't see any error in client side.


I think request is reaching server as I can read the following both in 
*Network tab in Firefox* and in *localhost_access_log* when I check any 
of the group rights:
/*GET* 
/xwiki/bin/view/XWiki/XWikiPreferences?xpage=saverights&clsname=XWiki.XWikiGlobalRights&fullname=XWiki.TestGroup&uorg=groups&form_token=F1Tx3ax0rIGsf8noimHySQ&action=allow&right=view 
HTTP/1.1" 200 7/


However, unregistered user rights (the ones below group table rights) 
are working fine! Note that I can see a different behavior in this case: 
POST instead of GET. As follows:
/*POST* 
/xwiki/bin/save/XWiki/XWikiPreferences?form_token=F1Tx3ax0rIGsf8noimHySQ 
HTTP/1.1" 204 -/


I thougth issue was related just with group rights but it happens also 
with user rights (except for unregistered ones).


If I can help you with more info just ask it!

ASOL Email Un cordial saludo,
Iago Lluque
/
*Alínea Software Solutions S.L.*
Travesía del Comercio 3, 2º 36002 Pontevedra España
Tel: +34 986 845 699
Email: i...@alineasol.com 
Web: http://www.alineasol.com
/
El 17/11/2015 a las 12:31, Clemens Klein-Robbenhaar escribió:

Hi all,

I'm trying the new stable version of XWiki (7.3) and I'm facing problems with 
group rights.
I'm unable to keep them set, as if I leave Rights page and then come back again all 
rights I've tuned up remain unset (reseted to "default" I think...)

Is anybody else having this issue? Any workaround?

Thanks in advance!

To me it looks like your changes are not stored on the server.
Can you see if you get any errors in the Javascript console (Ctrl-Shift-J in 
most browsers) when setting rights?

The same browser tools often have a "Network" tab. Do you see any network 
traffic there when setting rights?
(every time you click on a setting, there should be at least one bit of network 
traffic sending your changes to the server instantly)

It would be great if you could post your findings as this will help to 
reproduce the problem.

Clemens


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki 7.1.3 released

2015-11-17 Thread Eduard Moraru
The XWiki development team is proud to announce the availability of XWiki
7.1.3.

This is a stabilization release that fixes important bugs discovered in the
7.1.2 version.

You can download it using these links:

JAR:
http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-installer-generic/7.1.3/xwiki-enterprise-installer-generic-7.1.3-standard.jar

EXE:
http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-installer-windows/7.1.3/xwiki-enterprise-installer-windows-7.1.3.exe

ZIP:
http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-jetty-hsqldb/7.1.3/xwiki-enterprise-jetty-hsqldb-7.1.3.zip

WAR:
http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-web/7.1.3/xwiki-enterprise-web-7.1.3.war

XAR:
http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-ui-mainwiki-all/7.1.3/xwiki-enterprise-ui-mainwiki-all-7.1.3.xar

Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki713

The following people have contributed code to this release:

Denis Gervalle
Eduard Moraru
Guillaume Delhumeau
Marius Dumitru Florea
Thomas Mortagne
Vincent Massol

Thanks for your support
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Antw.: Question on Jobs and context (Peter Huisman)

2015-11-17 Thread Peter Huisman
Hi Thomas,

I managed to do what I wanted. Apparently I mixed up some of the environments. 
I used the DocumentClass to get a document after I set did the setWiki() but 
that didn’t work. Once I switched to the XWikiDocument, it worked like a charm. 
I will most likely have to do some rework to have access to my components from 
a job :-)

Thanks for the help by answering my questions.

Br,

Peter

Van: Thomas Mortagne mailto:thomas.morta...@xwiki.com>>
Onderwerp: Antw.: [xwiki-users] Question on Jobs and context (Peter Huisman)
Datum: 16 november 2015 18:27:13 CET
Aan: XWiki Users mailto:users@xwiki.org>>
Antwoord aan: XWiki Users mailto:users@xwiki.org>>


You should never use the same ExecutionContext or XWikiContext in
different threads since they are really not designed for this and you
will have weird random issue at best.

You can find a example of a component getting the current XWikiContext
and setting the current wiki id on
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-mail/xwiki-platform-mail-send/xwiki-platform-mail-send-storage/src/main/java/org/xwiki/mail/internal/DatabaseMailStatusStore.java#L73
 
.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Irritating problems with rights

2015-11-17 Thread Tobias Kirchhofer
We could try to set up a „non-working“ instance by rebuilding a backup of the 
7.1 version with the old database and upgrade again looking if the effect comes 
back.

From my point if view the other issue seems to be a different problem - our 
right settings remained, his setting remains not persistent 
http://markmail.org/message/xzapsextekrsgml3

What do you think?

Thank you!
 Tobias 




On 17 Nov 2015, at 13:20, vmassol [via XWiki] wrote:

> Hi Tobias,
> On 17 Nov 2015 at 13:12:34, Tobias Kirchhofer (tob...@kirchhofer.net) wrote:
>
> What i can provide is the status quo which is working 
>
> https://cargo.shift.agency/data/public/xwiki 
>
> We don't have an instance with a non working status, sorry. 
>
>
> Thanks but that’s not going to be very useful :)
>
> You haven’t kept a backup of the non working instance by any chance?
>
> Is there a way for you to provide us with a zip of the original 7.1 instance 
> that failed to upgrade yo 7.3 (with private data removed)?
>
> Thanks
>
> -Vincent
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
>
> ___
> If you reply to this email, your message will be added to the discussion 
> below:
> http://xwiki.475771.n2.nabble.com/XWiki-7-3-Irritating-problems-with-rights-tp7596882p7596890.html
>
> To unsubscribe from [XWiki 7.3] Irritating problems with rights, visit 
> http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7596882&code=dG9iaWFzQGtpcmNoaG9mZXIubmV0fDc1OTY4ODJ8LTE5MTY5NTg0MTg=


-- 
Tobias Kirchhofer
tob...@kirchhofer.net

signature.asc (859 bytes) 





--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-7-3-Irritating-problems-with-rights-tp7596882p7596891.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Irritating problems with rights

2015-11-17 Thread vinc...@massol.net
Hi Tobias,
On 17 Nov 2015 at 13:12:34, Tobias Kirchhofer (tob...@kirchhofer.net) wrote:

What i can provide is the status quo which is working 

https://cargo.shift.agency/data/public/xwiki 

We don't have an instance with a non working status, sorry. 


Thanks but that’s not going to be very useful :)

You haven’t kept a backup of the non working instance by any chance?

Is there a way for you to provide us with a zip of the original 7.1 instance 
that failed to upgrade yo 7.3 (with private data removed)?

Thanks

-Vincent
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Irritating problems with rights

2015-11-17 Thread Tobias Kirchhofer
What i can provide is the status quo which is working

https://cargo.shift.agency/data/public/xwiki

We don't have an instance with a non working status, sorry.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-7-3-Irritating-problems-with-rights-tp7596882p7596889.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Irritating problems with rights

2015-11-17 Thread vinc...@massol.net
Hi Tobias,

What would be great is if you could use 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Check+Security+Cache and 
give us the result. This should tell us why the permissions you have set do not 
produce any result.

Two devs have been trying to reproduce the problem to no avail so far. So we 
really need more information on your setup before the migration. Running this 
extension could help a lot too.

Thanks
-Vincent

On 17 Nov 2015 at 12:05:55, Tobias Kirchhofer (tob...@kirchhofer.net) wrote:

We came from 7.1.  

Meanwhile we solved the issue by restoring the Main-Wiki database from  
backup. We store our data in subwikis, the main Wiki is just a welcome page  
and holds the user (ldap). After restore from backup the permission system  
worked like before also in subwikis. The rights settings here and there were  
the same before and after.  

Probably some weird side effect from migration.  

We use XWiki as an Intranet - no free registration.  

Tell me if we can support further with this issue.  
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [XWiki 7.3] Problem with group rights

2015-11-17 Thread Clemens Klein-Robbenhaar

> Hi all,
> 
> I'm trying the new stable version of XWiki (7.3) and I'm facing problems with 
> group rights.
> I'm unable to keep them set, as if I leave Rights page and then come back 
> again all rights I've tuned up remain unset (reseted to "default" I think...)
> 
> Is anybody else having this issue? Any workaround?
> 
> Thanks in advance!

To me it looks like your changes are not stored on the server.
Can you see if you get any errors in the Javascript console (Ctrl-Shift-J in 
most browsers) when setting rights?

The same browser tools often have a "Network" tab. Do you see any network 
traffic there when setting rights?
(every time you click on a setting, there should be at least one bit of network 
traffic sending your changes to the server instantly)

It would be great if you could post your findings as this will help to 
reproduce the problem.

Clemens


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Irritating problems with rights

2015-11-17 Thread Tobias Kirchhofer
We came from 7.1.

Meanwhile we solved the issue by restoring the Main-Wiki database from
backup. We store our data in subwikis,  the main Wiki is just a welcome page
and holds the user (ldap). After restore from backup the permission system
worked like before also in subwikis. The rights settings here and there were
the same before and after.

Probably some weird side effect from migration.

We use XWiki as an Intranet - no free registration.

Tell me if we can support further with this issue.  



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-7-3-Irritating-problems-with-rights-tp7596882p7596886.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Irritating problems with rights

2015-11-17 Thread vinc...@massol.net

Just noticed another thread with this problem:
http://markmail.org/message/xzapsextekrsgml3

Two threads talking about the same issue, seems like we have a problem… :(

I’ve asked the user to create a jira issue on the other thread. We’ll try to 
reproduce.

Thanks
-Vincent


On 16 Nov 2015 at 20:32:59, vinc...@massol.net 
(vinc...@massol.net(mailto:vinc...@massol.net)) wrote:

> Hi Tobias,
>  
> On 16 Nov 2015 at 20:24:01, Tobias Kirchhofer 
> (tob...@kirchhofer.net(mailto:tob...@kirchhofer.net)) wrote:
>  
> > We just switched to 7.3 and loved it! Cleaner look and Nested Spaces was 
> > what
> > we where looking for. Thank you very much for this awesome work!  
>  
> Cool!  
>  
> > What we are irritated about is something which is hopefully just a lack of
> > understanding about rights. We have had groups and adjusted single pages
> > according to our access policies. Everything worked as expected. After
> > update to 7.3 all rights do not function anymore! The rights were not
> > changed but now every user can access every single page - even "Administer
> > Wiki" on the main wiki and on each subwiki!
> >
> > We reinvented our whole security rules and rights to the certain pages with
> > no success.
> >
> > Could someone please support us in narrowing down this issue?  
>  
> Rest assured that we haven’t changed how rights worked and were set up. So we 
> just need to find out what happened during your upgrade. This is really 
> strange. At this point I have no point what could have happened.  
>  
> Could you check the rights page in the Admin UI and tell us what you see 
> there for the guest user and for users and groups? Also, is it different from 
> what you were seeing before?  
>  
> Is there a way for us to reproduce this? What version of XWiki were you using 
> before upgrading to 7.3?  
>  
> Thanks  
> -Vincent
>  

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [XWiki 7.3] Problem with group rights

2015-11-17 Thread vinc...@massol.net
Hi,

Hmm seems we’re having an issue with groups since this was reported by another 
user:
http://markmail.org/message/kvksivqkexmipgnc

Woud you mind creating a jira issue for this with the maximum info for us to 
reproduce?

Thanks
-Vincent
On 16 Nov 2015 at 17:18:40, Iago Lluque (iago.llu...@alineasol.com) wrote:

Hi all,

I'm trying the new stable version of XWiki (7.3) and I'm facing problems  
with group rights.
I'm unable to keep them set, as if I leave Rights page and then come  
back again all rights I've tuned up remain unset (reseted to "default" I  
think...)

Is anybody else having this issue? Any workaround?

Thanks in advance!

--  
ASOL Email Un cordial saludo,
Iago Lluque
/
*Alínea Software Solutions S.L.*
Travesía del Comercio 3, 2º 36002 Pontevedra España
Tel: +34 986 845 699
Email: i...@alineasol.com 
Web: http://www.alineasol.com
/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users