Commit Graph

30 Commits

Author SHA1 Message Date
Pascal-Nicolas Becker
04ec199ff3 [DS-3431] Harden DSpace's BasicWorfklowService 2017-07-11 16:37:19 +00:00
Tom Desair
f148fb3de5 DS-3572: Renamed epersonInGroup to isEPersonInGroup 2017-06-13 15:56:01 +02:00
Tom Desair
59087eed9b DS-3572: Restored behaviour of GroupService.isMember and moved new behaviour to GroupService.isParentOf 2017-06-13 15:55:59 +02:00
Tom Desair
aeb3af9b2f DS-3572: Fix bug where normal group membership is ignored if special groups are present + added tests 2017-06-13 15:55:48 +02:00
Tom Desair
ff8923b315 Improve tests + make GroupService.isMember method more performant for special groups 2017-06-13 15:55:46 +02:00
Tom Desair
083eae3e9f Restore GroupServiceImpl.isMember logic + fix tests 2017-06-13 15:55:27 +02:00
Pascal-Nicolas Becker
ff4b7f00fa DS-3572: Check authorization for a specified user instead of currentUser 2017-06-13 15:55:23 +02:00
Tom Desair (Atmire)
1ccd6d1e13 Ds 3552 read only context and hibernate improvements (#1694)
* Refactor READ ONLY mode in Context and adjust hibernate settings accordingly

* Set Context in READ-ONLY mode when retrieving community lists

* Fix Hibernate EHCache configuration + fix some Hibernate warnings

* Cache authorized actions and group membership when Context is in READ-ONLY mode

* Set default Context mode

* Let ConfigurableBrowse use a READ-ONLY context

* Add 2nd level cache support for Site and EPerson DSpaceObjects

* Added 2nd level caching for Community and Collection

* Fix tests and license checks

* Cache collection and community queries

* Small refactorings + backwards compatibility

* Set Context to READ-ONLY for JSPUI submissions and 'select collection' step

* OAI improvements part 1

* OAI indexing improvements part 1

* OAI indexing improvements part 2

* DS-3552: Only uncache resource policies in AuthorizeService when in read-only

* DS-3552: Additional comment on caching handles

* DS-3552: Fix cache leakage in SolrServiceResourceRestrictionPlugin

* DS-3552: Clear the read-only cache when switching Context modes

* DS-3552: Correct Group 2nd level cache size

* DS-3552: Always clear the cache, except when going from READ_ONLY to READ_ONLY
2017-06-12 13:50:45 +00:00
Tim Donohue
bc17a391cd Merge pull request #1662 from minurmin/DS-3463
[DS-3463] Fix IP authentication for anonymous users
2017-05-18 13:11:45 -07:00
Andrea Bollini
0dcb02ee0c DS-3578 Endpoints to retrieve EPerson and Groups
implemented pagination in the eperson and group service
2017-04-20 01:12:59 +02:00
Miika Nurminen
314dddafc7 [DS-3463] Fix IP authentication for anonymous users
Added group membership check based on context even if no eperson is found. Affects file downloads in (at least) xmlui.
2017-03-01 19:43:48 +02:00
Ivan Masár
269af71afb javadoc (doclint) and whitespace fixes
includes whitespace fixes as per Coding Conventions
2016-11-10 13:34:37 +01:00
Tom Desair
8db0faed33 fix conflict 2016-05-27 13:16:23 +02:00
KevinVdV
324f9a31da [DS-3185] Special group doesn't grant the right to submit 2016-05-23 12:37:23 +02:00
Tim Donohue
ca78a45532 DS-3154: Fix some of the Javadocs errors in dspace-api 2016-04-29 09:06:54 -05:00
Tom Desair
14c9229156 DS-3004: Fixed unit tests, license check and unused parameters 2016-02-26 16:19:34 +01:00
Tom Desair
382d9421b7 DS-3004: Refactored GroupService so that it doesn't use dc.title anymore to search for a group by name 2016-02-26 14:52:56 +01:00
Tom Desair
5798f58410 DS-3004: Use the new name column on epersongroup when searching for groups and do not store the name in the metadata anymore. 2016-02-26 13:39:04 +01:00
Tom Desair
f4a7214bca DS-3004: Check group membership with one database call + cache the result in Hibernate. Also fixed a problem with the group2groupCache 2016-02-25 14:22:58 +01:00
Tom Desair
845c1bae90 DS-3004: Added to group name as a column to the group entity and use to to find groups by name instead of searching in the metdata 2016-02-24 13:49:11 +01:00
Mark H. Wood
066d23d0a5 Merge pull request #1265 from mwoodiupui/DS-3024
[DS-3024] "Administrator" and "Anonymous" groups can be renamed, which would cause them to no longer function in 6.x
2016-02-17 16:18:36 -05:00
KevinVdV
c144aa1486 [DS-3003] Ensure all service & DAO implementations have a protected constructor 2016-02-05 15:06:39 +01:00
Mark H. Wood
836783b3b0 [DS-3024] Log denied rename attempt. 2016-02-03 13:35:44 -05:00
Mark H. Wood
65b6e7276e [DS-3024] Move permanence logic from entity class to its service class. 2016-02-03 13:35:44 -05:00
Mark H. Wood
8fc324e9f3 [DS-3024] Add a 'permanent' attribute to Groups. 2016-02-03 13:35:43 -05:00
helix84
80a7b0f8bd Merge pull request #1256 from KevinVdV/DS-3008-fix-metadata-order
[DS-3008] Fix metadata order storage
2016-01-31 02:31:13 +01:00
KevinVdV
fc7ed3928a [DS-3008] Fix metadata order storage 2016-01-29 12:18:11 +01:00
Ondřej Košarko
ec804f81e2 moving queries to DAOs 2016-01-25 18:04:46 +01:00
KevinVdV
2467f43ec7 [DS-2729] Ensure SiteService extends DSpaceObjectService 2015-08-28 12:55:44 +02:00
KevinVdV
54222f3c1d DSpace refactored service api 2015-08-19 11:54:32 +02:00