took out all isPublic column references

git-svn-id: http://scm.dspace.org/svn/repo/trunk@406 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
David Stuve
2002-09-24 18:12:56 +00:00
parent 986ecc2cce
commit 921d604243
2 changed files with 2 additions and 28 deletions

View File

@@ -185,7 +185,7 @@ public class AuthorizeManager
{
// if public flag is set, action is authorize
// for everyone (even anonymous use)
if( rp.isPublic() ) { return true; }
//if( rp.isPublic() ) { return true; }
if( (rp.getEPersonID() != -1)
&&(rp.getEPersonID() == userid) )

View File

@@ -1,9 +1,7 @@
/*
* ResourcePolicy
*
* Version: $Revision$
*
* Date: $Date$
* $Id$
*
* Copyright (c) 2001, Hewlett-Packard Company and Massachusetts
* Institute of Technology. All rights reserved.
@@ -222,30 +220,6 @@ public class ResourcePolicy
}
/**
* is this action public? open to all?
* even anonymous use?
*
* @return true if action is authorized to all
*/
public boolean isPublic()
{
return myRow.getBooleanColumn("is_public");
}
/**
* modify public flag
*
* @param true if authorized to all, false if not
* if true, overrides others (epeople, groups)
*/
public void setPublic( boolean isPublic )
{
myRow.setColumn("is_public", isPublic);
}
/**
* get EPersonID, or -1 if EPerson not set
*/