webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  ino:acl update ace

    Posted Thu January 20, 2005 03:43 PM

    I’d like to update ino:acl/ino:ace/@ino:access from “read” to “change”. I used the following statement. However, I got the “Invalid doctype” error. Or there is any other way I can change ace. Please help.

    declare namespace ino=“http://namespaces.softwareag.com/tamino/response2
    update
    for $a in input()/ino:acl
    where $a/@ino:aclname=“ACL2” and $a/ino:ace/@ino:access=“read”
    do replace $a/ino:ace/@ino:access with attribute ino:access {“change”}

    - <xq:result xmlns:xq=“http://namespaces.softwareag.com/tamino/XQuery/result”>
    <ino:object ino:collection=“ino:security” ino:doctype=“ino:acl” ino:id=“2” />
    </xq:result>
    - <ino:message ino:returnvalue=“8551”>
    <ino:messagetext ino:code=“INOXME8551”>Invalid doctype</ino:messagetext>
    </ino:message>


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: ino:acl update ace

    Posted Thu January 20, 2005 04:41 PM

    Even though the ino:security collection behaves somewhat like a normal user collection, it is a system collection which has certain special restrictions. One of them is that currently it is not possible to do XQuery-Updates against the data in ino:security. You will need to use the old-fashioned way of using a process-update via re-using the ino:id to do an update on data in ino:security.

    regards,
    Heiko Weber


    #webMethods
    #API-Management
    #Tamino


  • 3.  RE: ino:acl update ace

    Posted Thu January 20, 2005 07:23 PM

    Is there any way I can build my own Security Manager GUI to create/update users and acl, ace (ino:user, ino:acl) other than use Tamino System Management Hub? Do you have any example can share with me?


    #Tamino
    #API-Management
    #webMethods


  • 4.  RE: ino:acl update ace

    Posted Mon January 24, 2005 09:06 AM

    As far as I know there is no other implementation available to administer users, groups, acls, and domains for current Tamino databases. There used to be an alternative Java-implementation for some old version of Tamino available as shareware.

    However the structure of the documents in ino:security is fairly simple, so it should not be too hard to write your own security GUI via the Java or PHP API.

    regards,
    Heiko Weber


    #API-Management
    #Tamino
    #webMethods