A collection was unrestricted but the items in the collection are still 
restricted. Looking around at the postgres tables and knowing the handle of the 
items in question, can I just:
( sudo code)

$a = select resource_id from handle where handle= <one of the handles in 
question>

update resourcepolicy set resourcepolicy.epersongroup_id=0
    where resourcepolicy.resource_id = $a and resourcepolicy.epersongroup_id=1

This assumes
resourcepolicy.epersongroup_id = 1 means administrator (hence restricted)
and
resourcepolicy.epersongroup_id=0 means anonymous


Thanks,
Gene

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to