Thanks Nish, it looks like this has worked! I have a related question, is it possible to extend the core roles in Muradora from the current default set?
Best, Julie Nishen Naidoo wrote: > Hi Julie, > > The following snippet is the correct one: > <user name="dlibTest" password="xxxxx"> > <attribute name="fedoraRole"> > <value>student</value> > <value>teacher</value> > </attribute> > </user> > > And you don't need to do anything to the XACML side of things as it is > already configured to work with multiple roles... > > Thanks, > Nish > > > ------------------------------------------------------------------------ > Nishen Naidoo > Research Coordinator > Muradora Project Lead > Macquarie E-Learning Centre of Excellence (MELCOE) > MACQUARIE UNIVERSITY NSW 2109 > > E-Mail: [email protected] <mailto:[email protected]> > Phone: +61 (0)2 98506531 > Mobile: +61 (0)4 30006783 > Fax: +61 (0)2 98506527 > http://www.melcoe.mq.edu.au/ > > CRICOS Provider No 00002J > > This message is intended for the addressee named and may contain > confidential information. If you are not the intended recipient, > please delete it and notify the sender. Views expressed in this > message are those of the individual sender, and are not necessarily > the views of MELCOE or Macquarie University. > > > > > Julie Allinson wrote: >> Hi all, >> >> We're trying to test whether Muradora can be configured to use multiple >> roles, so that we can have a user who is both a student and a member of a >> particular course, for example which would allow them to see different >> collections of resources for their different roles. We're trying this using >> fedora-users.xml for starters and am not sure how to construct the XML. >> >> Are any of the following combinations correct? and has anybody done any work >> on combining user roles like this (or any other way!) which might help us >> (whether using Muradora or not). Is there a particular combing algorithm >> needed for the XACML policies? >> >> <user name="dlibTest" password="xxxxx"> >> <attribute name="fedoraRole"> >> <value>student</value> >> </attribute> >> <attribute name="fedoraRole"> >> <value>teacher</value> >> </attribute> >> </user> >> >> and, >> >> <user name="dlibTest" password="xxxxx"> >> <attribute name="fedoraRole"> >> <value>student</value> >> <value>teacher</value> >> </attribute> >> </user> >> >> and >> >> <user name="dlibTest" password="xxxxx"> >> <attribute name="fedoraRole"> >> <value>teacher</value> >> </attribute> >> </user> >> <user name="dlibTest" password="xxxxx"> >> <attribute name="fedoraRole"> >> <value>student</value> >> </attribute> >> </user> >> >> Thanks! >> >> Julie >> >> -- Julie Allinson <[email protected]> Digital Library Manager University Library & Archives, J.B. Morrell Library University of York, Heslington, York, YO10 5DD, UK tel: ++44 (0) 1904 434083 skype: j.allinson web: http://www.york.ac.uk/services/library/elibrary/digitallibrary.htm -- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
