jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@adobe.com>
Subject Re: access control of properties
Date Thu, 18 Aug 2011 15:08:24 GMT
hi lyn

> But when I try to change the value of a property which is added by an admin user
> this works without exception.
>
> Node rootNode = usersSession.getRootNode();
> Node serviceNode = rootNode.getNode( "jrc/jrc:service" );
> serviceNode.setProperty( "jrc:url", "newValue" );
>
> Does anyone have an idea?

did you save your property modification changes?
afaik the permission check of the transient operations is delayed
to the save call.

regards
angela

> Best regards,
> Lyn
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk5FRm0ACgkQ/QSXMw31ZSufXgCfd4Z1gAcF6/ugIs+9kfdYeEM9
> /qMAn2FPmNiks3HR3LRzQqlYrtev8VKT
> =NAx8
> -----END PGP SIGNATURE-----

Mime
View raw message