Mariano,

   Congratulations, you've discovered an obscure bug
in the XCC/.NET code.  It looks like a cut/paste error
that only applies to XCC/.NET, not XCC/Java.

   This will be fixed in XCC 4.0-3 and 3.2-10.

   In the meantime, you can work around this by calling
the ContentPermission constructor, like this:

ContentPermission perm = new ContentPermission (ContentCapability.Capability.Update, "role-name");

   Mark Logic Bug #6776 has been opened to track this issue.

On Dec 9, 2008, at 12:50 AM, Mariano Grau Calín wrote:

Hello:

I am working with the .NET API and when use the ContentPermission.NewUpdatePermission("role-name") function it return a ContentPermission with insert capability !!!

The functions
ContentPermission.NewExecutePermission

ContentPermission.NewInsertPermission

ContentPermission.NewReadPermission

work fine and returns correct ContentPermission

I used version 3.2-6 .NET API but last version 3.2-9 get same result.

Thanks,

Mariano Grau
Dpto. Sistemas Grupo Joly
mgrau @ grupojoly.com

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

---
Ron Hitchens [EMAIL PROTECTED]  650-655-2351




_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to