mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
[DS-895] Advanced Embargo Project : Fix JUnit Tests and Correct Database Schema
This commit is contained in:
@@ -295,17 +295,6 @@ public class AuthorizeManager
|
||||
}
|
||||
}
|
||||
|
||||
if (o instanceof Item)
|
||||
{
|
||||
Item i = (Item) o;
|
||||
if (!i.isArchived()) return false;
|
||||
|
||||
if (i.isWithdrawn()) return false;
|
||||
|
||||
if (!i.isDiscoverable()) return false;
|
||||
}
|
||||
|
||||
|
||||
for (ResourcePolicy rp : getPoliciesActionFilter(c, o, action))
|
||||
{
|
||||
// check policies for date validity
|
||||
|
Reference in New Issue
Block a user