[Neo4j] neo4j 1.4 for structr 0.4 and self relationships

2011-06-08 Thread Axel Morgner
Hi Neo4j-Team!

Just wanted to say 'thank you'. With neo4j 1.4, we can solve a problem 
we had before with group permissions in structr [1].

Without self relationships, users were unable to see their own group 
they're in, because the permission isReadable was determined by a 
SECURITY relationship between the object (the group) and the principal 
(with group-wise permissions, the principal is the group itself).

After upgrading structr to neo4j-1.4-SNAPSHOT (in branch 
'release-0.4-SNAPSHOT' [2]) , we can create SECURITY self-relationships 
for each group, so it just works. :-)

Greetings from Frankfurt a.M.

Axel

[1] http://structr.org/
[2] https://github.com/structr/structr/tree/release-0.4-SNAPSHOT

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] neo4j 1.4 for structr 0.4 and self relationships

2011-06-08 Thread Peter Neubauer
Nice Axel,
please do give feedback if anything is out of the ordinary!

Cheers,

/peter neubauer

GTalk:  neubauer.peter
Skype   peter.neubauer
Phone   +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter  http://twitter.com/peterneubauer

http://www.neo4j.org   - Your high performance graph database.
http://startupbootcamp.org/- Ă–resund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.


On Thu, Jun 9, 2011 at 1:51 AM, Axel Morgner a...@morgner.de wrote:

 Hi Neo4j-Team!

 Just wanted to say 'thank you'. With neo4j 1.4, we can solve a problem
 we had before with group permissions in structr [1].

 Without self relationships, users were unable to see their own group
 they're in, because the permission isReadable was determined by a
 SECURITY relationship between the object (the group) and the principal
 (with group-wise permissions, the principal is the group itself).

 After upgrading structr to neo4j-1.4-SNAPSHOT (in branch
 'release-0.4-SNAPSHOT' [2]) , we can create SECURITY self-relationships
 for each group, so it just works. :-)

 Greetings from Frankfurt a.M.

 Axel

 [1] http://structr.org/
 [2] https://github.com/structr/structr/tree/release-0.4-SNAPSHOT

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user