Commit Graph

3385 Commits

Author SHA1 Message Date
Raf Ponsaerts
ea509448a9 [Task 68608] test setup for parent community IT 2020-02-10 14:32:16 +01:00
Marie Verdonck
e35e5a6b3a [DS-2646]: /workflowdefinitions/<:name>/collections via @LinkRest (Controller to LinkRepository)
and /steps set embedOptional to true
> /workflowdefinitions/<:name> has links of subresources, but no embeds
2020-02-10 14:27:49 +01:00
Philip Vissenaekens
0615c5dec9 Merge remote-tracking branch 'upstream/master' into DS-626
# Conflicts:
#	dspace/config/spring/api/core-factory-services.xml
#	dspace/config/spring/api/core-services.xml
#	dspace/src/main/config/build.xml
2020-02-10 13:44:54 +01:00
Marie Verdonck
2fd967744c [DS-2646]: Workflow Endpoints now need authenticated access + tests:
WorkflowDefinition, WorkflowActions & WorkflowSteps Endpoints
2020-02-10 11:05:52 +01:00
Andrea Bollini
0201ef1055 Initial implementation of the authorizations endpoints 2020-02-09 15:56:42 +01:00
Andrew Wood
b77b4f0336 DS-3533 Create test for embeds and links against DSO REST ITs 2020-02-07 15:37:05 -05:00
Chris Wilper
b1e7e9f2aa DS-3533 Disable embedding of authority entryValues as a direct subresource 2020-02-07 15:36:13 -05:00
Chris Wilper
4a5cbb3678 DS-3533 Make authority entries subresource embeddable 2020-02-07 15:32:40 -05:00
Raf Ponsaerts
0faeaabdef [Task 68607] added links to the parentCommunity for collections and communities on their respective endpoints 2020-02-07 15:38:25 +01:00
Giuseppe Digilio
c65bb086ef Fixed checkstyle violations 2020-02-07 14:49:43 +01:00
Chris Wilper
afdefcbeed DS-3533 Drop unused import 2020-02-06 14:56:01 -05:00
Mykhaylo Boychuk
b4798511b4 update test to access single resource policy owned by Anonymous group
resource policy endpoints are now restricted to authenticated people according to the reviewed contract
2020-02-06 17:14:52 +01:00
Mykhaylo Boychuk
dc06efbb83 added unit test to retrieve a resource policy attached to the Anonymous group with/without using authentication 2020-02-06 15:52:58 +01:00
Giuseppe Digilio
82f2f60fc9 Added integration test fo ShibbolethRestController 2020-02-06 15:15:54 +01:00
Giuseppe Digilio
7b3db78e4b Added more integration test for shibboleth authentication 2020-02-06 15:15:36 +01:00
Chris Wilper
b1d54273de DS-3533 Adjust javadocs 2020-02-06 09:12:03 -05:00
Chris Wilper
241289a2f9 DS-3533 Fix formatting 2020-02-06 08:52:12 -05:00
Chris Wilper
d2d03bca9e DS-3533 Run test with admin perms since permission is now checked 2020-02-06 08:52:12 -05:00
Andrew Wood
58ad460e74 DS-3533 Fix BrowsesResourceControllerIT test 2020-02-06 08:52:12 -05:00
Chris Wilper
e0f0483b5d DS-3533 Fix expectation browseEntries -> entries 2020-02-06 08:52:12 -05:00
Andrew Wood
7f45d1defc DS-3533 Rest IT fixes 2020-02-06 08:52:12 -05:00
Chris Wilper
c84939e57d DS-3533 Fix ConverterService tests based on new expectations 2020-02-06 08:52:12 -05:00
Chris Wilper
e6e0360e8f DS-3533 Drop extends; not a link repository 2020-02-06 08:52:12 -05:00
Chris Wilper
6ef0e165dc DS-3533 Drop linkClass; unused 2020-02-06 08:52:12 -05:00
Chris Wilper
7d3885f939 DS-3533 Drop embed/linkOptional properties from LinkRest 2020-02-06 08:52:12 -05:00
Andrew Wood
169cd502a2 DS-3533 Consistency: Use same json for paged subresources
This ensures that when a subresource is a paged collection,
the json is constructed in the same way, whether it is embedded
in its parent, or requested separately.
2020-02-06 08:49:35 -05:00
Chris Wilper
c71090a04f DS-3533 Request embeds for relevant ITs 2020-02-06 08:49:27 -05:00
Mykhaylo Boychuk
3e0db7a7a1 Forbid anonymous users to search by gorup 2020-02-06 10:40:26 +01:00
Mykhaylo Boychuk
434774f1f6 Add test to verify that anonymous users cannot search by group 2020-02-06 10:37:12 +01:00
Chris Wilper
0fded8de83 DS-3533 Permit embedding group in eperson 2020-02-05 13:19:23 -05:00
Chris Wilper
2019e095db DS-3533 Avoid embedding subresources that may nest (groups in groups, communities in communities) 2020-02-05 13:19:23 -05:00
Chris Wilper
d4c0bbde52 DS-3533 Consistency: Use link repo to GET bitstream bundle subresource 2020-02-05 13:19:23 -05:00
Chris Wilper
d67aeb41d9 DS-3533 Fix collection license subresource authorization 2020-02-05 13:19:23 -05:00
Chris Wilper
fc9512a495 DS-3533 Make group subresource embeds optional 2020-02-05 13:19:23 -05:00
Chris Wilper
876a1fad1d DS-3533 Consistency: Use link repo for eperson groups 2020-02-05 13:19:23 -05:00
Chris Wilper
8c2953c66d DS-3533 Consistency: Use link repo for mapped items 2020-02-05 13:19:23 -05:00
Chris Wilper
10dcd35880 DS-3533 Consistency: Return NOT FOUND when resource not found for subresource request 2020-02-05 13:19:23 -05:00
Chris Wilper
17180337d7 DS-3533 Consistency: Use link repo for mapped collections 2020-02-05 13:19:23 -05:00
Chris Wilper
3a56f002e5 DS-3533 Make community subresource embeds optional 2020-02-05 13:19:23 -05:00
Chris Wilper
3cdb947098 DS-3533 Get optional pageable from one place 2020-02-05 13:19:23 -05:00
Chris Wilper
20a00db673 DS-3533 Make collection subresource embeds optional 2020-02-05 13:19:23 -05:00
Chris Wilper
2865ff9171 DS-3533 Rename for consistency among link repos 2020-02-05 13:19:23 -05:00
Chris Wilper
de71486e6b DS-3533 Consistency: Return NO CONTENT when link repo returns null 2020-02-05 13:19:23 -05:00
Chris Wilper
460ada4098 DS-3533 Require read access to get subresources 2020-02-05 13:19:22 -05:00
Chris Wilper
f98e011738 DS-3533 Make bitstream subresource embeds optional 2020-02-05 13:19:22 -05:00
Chris Wilper
2884a80958 DS-3533 Make bundle subresource embeds optional 2020-02-05 13:19:22 -05:00
Chris Wilper
2f018c6f89 DS-3533 Make item subresource embeds optional 2020-02-05 13:19:22 -05:00
Chris Wilper
fb36d4bd7b DS-3533 Fix test to match new expectation 2020-02-05 13:19:22 -05:00
Chris Wilper
e331d5557e DS-3533 Include optional links by default 2020-02-05 13:19:22 -05:00
Chris Wilper
7637857505 DS-3533 Drop "list" projection; no longer relevant 2020-02-05 13:19:22 -05:00