taylor 2004/07/14 19:27:06
Modified: src/java/org/apache/jetspeed/om/dbregistry
SecurityDbEntryPeer.java
Log:
fix bug in role/group
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.4 +2 -2
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/SecurityDbEntryPeer.java
Index: SecurityDbEntryPeer.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/SecurityDbEntryPeer.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- SecurityDbEntryPeer.java 15 Jul 2004 01:46:12 -0000 1.3
+++ SecurityDbEntryPeer.java 15 Jul 2004 02:27:06 -0000 1.4
@@ -208,7 +208,7 @@
else if (sa.getAllowType().equals(ALLOW_BOTH))
{
allow.setRole(sa.getAllowValue());
- allow.setRole(sa.getAllowGroup());
+ allow.setGroup(sa.getAllowGroup());
access.getAllows().add(allow);
}
else if (sa.getAllowType().equals(ALLOW_ROLE))
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]