Share » Forums » Developer » "give away" object

"give away" object

"give away" object

Thursday 14 April 2011 6:47:40 pm - 3 replies

Author Message

Ivo Lukac

Friday 15 April 2011 12:25:29 am

Try this one: http://projects.ez.no/change_owner

Would need some adjustments...

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Marko Žmak

Saturday 16 April 2011 5:27:03 am

P.S. You should be very carefull about giving users the ability to change ownership of and object. If you don't set the permissions or restrictions right it might happen than a user takes ownership of the entire site. Or even take ownership of the admin user and then change it's password.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

paul bolger

Sunday 17 April 2011 1:24:26 pm

Try this one: http://projects.ez.no/change_owner

Would need some adjustments.

Thanks Ivo, although I discovered that the readme is a bit, er, wrong. To construct a browse link you need to use

/owner/change/<node id> rather than /owner/browse/<node id.

Unfortunately it's not a great deal of use though, as it doesn't allow role setting beyond 'allow full access'. In my case I need 'allow only on self-owned objects' and, as Žmak points out, I'd be certifiable to allow this to users with no restrictions.

So, it's a great little extension (come back Xavier, we miss you!), but would be a killer with a bit of improvement. Any takers?

/owner/browse/

Paul Bolger

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu