2009/5/27 Thomas Schmidt <tschm...@suse.de>: > Ciro Iriarte schrieb: >> 2009/5/12 Thomas Schmidt <tschm...@suse.de>: >>> Ciro Iriarte wrote: >>>> 2009/4/24 Thomas Schmidt <tschm...@suse.de>: >>>>> Hm, that should have worked. >>>>> Did you check that datoscompra.roles.owner really is the field of the >>>>> owner, >>>>> or could it be that the user you are testing with is a global swamp admin? >>>>> >>>>> Greetings >>>>> >>>>> -- >>>>> Thomas Schmidt (tschmidt [at] suse.de) >>>>> SUSE Linux Products GmbH :: Research & Development :: Tools >>>>> "Don't Panic", Douglas Adams (1952 - 11.05.2001) >>>>> >>>> The role is defined like this: >>>> >>>> <role name="owner" restricted="true" type="databit"> >>>> <rolevalue>datoscompra.roles.owner</rolevalue> >>>> </role> >>>> >>>> The user was created like this: >>>> >>>> mysql> insert into >>>> dbUsers(LOGIN_NAME,PASSWORD_MD5,FIRST_NAME,LAST_NAME,EMAIL) values >>>> ('usuario','5f4dcc3b5aa765d61d8327deb882cf99','Usu','Ario','usuario'); >>>> >>>> It doesn't belong to any group. >>>> >>>> Regards, >>> Hi Ciro, sorry for the late reply. >>> Could you check your definition of the administracion role, maybe >>> restricted="true" there? >>> If it still don't work, please post a full workflow testcase so I can debug >>> it. >>> Greetings >>> >>> -- >>> Thomas Schmidt (tschmidt [at] suse.de) >> >> Thanks for answering, I've been very busy too.Tried with >> restricted="true" and restricted="false" and usuario still can approve >> that step. I'm submitting my test workflow with a DB dump in case that >> is useful. (20Kb in total) > > Hi Ciro, I figured out what's wrong in your workflow: > The default admin role has restricted=false which means that everyone > is an admin on this template. > When you set it to false, the user is no more able to do the administration > task. > > Greetings > > -- > Thomas Schmidt (tschmidt [at] suse.de) > SUSE Linux Products GmbH :: Research & Development :: Tools > "Don't Panic", Douglas Adams (1952 - 11.05.2001) >
Setting restricted=true for admin solved the issue, thanks a lot!. Now I understand what's the restricted attribute for :D Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ swamp-devel mailing list swamp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/swamp-devel http://swamp.sf.net