Hi,
I did another test with adding permissions between users through groups - but I still don't get it :-(
This is what I've done:
I created a new "user" G, on which I set the "Group" role --> this is my group.
I created new users A and B
This is the SQL statement which I used to get back the rights for both users:
1. Test:
In the GUI I entered the group G and added user A with right "can read from" (R) and
user B with right "is Assistant to" (RW).
Then I executed the above statement.
I don't get any result --> no access to each others collections :-(
2. Test
I removed both users from the group.
I then entered user A and added the group G with right "can read from" (R) to him.
I then entered user B and added the group G with right "is Assistent to" (RW) to him.
Then I executed the above statement again...
...and still don't get any result --> still no access to each others collections :-(
3. Test
Combination of 1. and 2., A -R-> G and G -R-> A; B -RW-> G, G -RW->B
Then I executed the above statement again...
... now I get the result, that A is able to read from B and B is able to R from B.
I'm absolutely confused about the above results....
After studying http://wiki.davical.org/w/How_Do_Relationships_Work several times
my understanding is that 1. should work as if A -R-> B and B -RW-> A.
(or if I misunderstand the direction this should be the case for 2.)
Even more confusing is 3. - why does both get read access to each other?
And no one gets read/write access?
Can somebody switch on the lights for me ;-)?
with regards,
Matthias
HELPING HEADS for Hard- and Software
-------------------------------------------------------------------------
Fuer Ihre Projekte entwickeln wir massgeschneiderte Loesungen - schnell,
flexibel und direkt vor Ort. Unser eingespieltes Team an erfahrenen Hard-
und Software-Spezialisten unterstuetzt Sie dort, wo Sie uns brauchen.
--------------------------------------------------------------------------
SysDesign GmbH
Saentisstrasse 25
D-88079 Kressbronn am Bodensee
Geschaeftsfuehrer: Franz Kleiner
Handelsregister: Ulm 632138
--------------------------------------------------------------------------
I did another test with adding permissions between users through groups - but I still don't get it :-(
This is what I've done:
I created a new "user" G, on which I set the "Group" role --> this is my group.
I created new users A and B
This is the SQL statement which I used to get back the rights for both users:
1. Test:
In the GUI I entered the group G and added user A with right "can read from" (R) and
user B with right "is Assistant to" (RW).
Then I executed the above statement.
I don't get any result --> no access to each others collections :-(
2. Test
I removed both users from the group.
I then entered user A and added the group G with right "can read from" (R) to him.
I then entered user B and added the group G with right "is Assistent to" (RW) to him.
Then I executed the above statement again...
...and still don't get any result --> still no access to each others collections :-(
3. Test
Combination of 1. and 2., A -R-> G and G -R-> A; B -RW-> G, G -RW->B
Then I executed the above statement again...
... now I get the result, that A is able to read from B and B is able to R from B.
I'm absolutely confused about the above results....
After studying http://wiki.davical.org/w/How_Do_Relationships_Work several times
my understanding is that 1. should work as if A -R-> B and B -RW-> A.
(or if I misunderstand the direction this should be the case for 2.)
Even more confusing is 3. - why does both get read access to each other?
And no one gets read/write access?
Can somebody switch on the lights for me ;-)?
with regards,
Matthias
HELPING HEADS for Hard- and Software
-------------------------------------------------------------------------
Fuer Ihre Projekte entwickeln wir massgeschneiderte Loesungen - schnell,
flexibel und direkt vor Ort. Unser eingespieltes Team an erfahrenen Hard-
und Software-Spezialisten unterstuetzt Sie dort, wo Sie uns brauchen.
--------------------------------------------------------------------------
SysDesign GmbH
Saentisstrasse 25
D-88079 Kressbronn am Bodensee
Geschaeftsfuehrer: Franz Kleiner
Handelsregister: Ulm 632138
--------------------------------------------------------------------------