from 14:00-15:00 UTC
As of Oct 31, 2019 this meeting is switching to 15:00 UTC (as daylight savings ends in Europe on Oct 27). This means the local time will be unchanged for European attendees.
In North America, as daylight savings ends one week later (on Nov 3), attendees will attend this meeting at 11:00am EDT on Oct 31, but as of November 7 it will switch back to 10:00am EST.
Location: https://lyrasis.zoom.us/my/dspace (Meeting ID: 502 527 3040).
- More connection options available at DSpace Meeting Room
(15 mins) Developer Stand Up - Developers give brief updates on their effort (or their team's effort).
- Update/see "Current Work" section below based on your status. Please feel free to update prior to meeting.
- Please highlight any new work (needing reviews/testing), any blockers (for you), and any discussion topics you may have.
- (30 mins) General Discussion Topics
- (15 mins) Planning for next week
- Assigning PRs for Review
- Next tasks from Development Planning Spreadsheet
- Mark H. Wood
- Giuseppe Digilio (4Science)
- Ben Bosman
- Chris Wilper
- Paulo Graça
- Dimitris Pierrakos
- Julius Gruber
- Laura Henze
Tickets / PRs In Progress
- (Angular) Adding Accessibility via Travis CI https://github.com/DSpace/dspace-angular/pull/356 (work in progress) (Lower priority)
- (Angular Bug) https://github.com/DSpace/dspace-angular/issues/368 ( Art Lowel (Atmire) )
- (REST Contract) Edit Homepage news: https://github.com/DSpace/Rest7Contract/pull/45 (Ben Bosman - has outstanding questions/comments) (Lower priority)
- (REST) DS-4043: Revisit the security layer of the submission (work in progress) Andrea Bollini (4Science)
- (REST) Pagination bug with withdrawn items: https://github.com/DSpace/DSpace/pull/2406 (Dimitris Pierrakos , Ben Bosman - Feedback provided)
- (REST Contract) ResourcePolicy endpoint - coming before next meeting
PRs Needing Review
- (REST Contract) Group and eperson management: https://github.com/DSpace/Rest7Contract/pull/41 (Tim Donohue - feedback provided, Andrea Bollini (4Science) - feedback provided)
- (NEW) (REST Contract) bundle DELETE contract https://github.com/DSpace/Rest7Contract/pull/86 1 APPROVAL ( Tim Donohue)
- (REST) Scripts and processes endpoint https://github.com/DSpace/DSpace/pull/2529 FEEDBACK HAS BEEN PROCESSED (Tim Donohue, Dimitris Pierrakos) - Was reviewed by Ben Bosman internally.
- (REST) DS-4337 implement bitstream-bitstreamformat relation endpoints https://github.com/DSpace/DSpace/pull/2503 ( Tim Donohue , Andrea Bollini (4Science), Ben Bosman)
- (REST) Ds 4317 bundles in rest https://github.com/DSpace/DSpace/pull/2548 (Ben Bosman, Tim Donohue, Chris Wilper )
- (REST) REST Projections "proof of concept": https://github.com/DSpace/DSpace/pull/2547 (Early Reviews welcome from all.)
- (REST) Ds 4358 tests in modules https://github.com/DSpace/DSpace/pull/2553 1 APPROVAL(Tim Donohue , NEEDS SECOND REVIEWER)
- (NEW) (REST) CRUD on Collection & Community logo https://github.com/DSpace/DSpace/pull/2562 (Chris Wilper, Tim Donohue)
- (Angular) Shibboleth integration support: https://github.com/DSpace/dspace-angular/pull/429 (Giuseppe Digilio (4Science) reviewed again fixed error with yarn start, Fernando FCT/FCCN, Paulo Graça - feedback provided)
- (Angular) forceBypassCache should be removed from the RequestService: https://github.com/DSpace/dspace-angular/pull/468 (Art Lowel (Atmire) - approved again, Giuseppe Digilio (4Science) )
- (Angular) Routing by handle and uuid: https://github.com/DSpace/dspace-angular/pull/490 (Art Lowel (Atmire) - provided feedback, Giuseppe Digilio (4Science), Tim Donohue , Andrea Bollini (4Science) - might be able to help with pid endpoint)
- (Angular) Tracking stats from the UI https://github.com/DSpace/dspace-angular/pull/495 (Tim Donohue , NEEDS SECOND REVIEWER)
- (Angular) Refactor object lists https://github.com/DSpace/dspace-angular/pull/497 (Giuseppe Digilio (4Science), Tim Donohue)
- (Backend) dspace.bat file: https://github.com/DSpace/DSpace/pull/2544 1 APPROVAL (Tim Donohue, Alexander Sulfrian, Chris Wilper )
PRs Merged this week!
- (REST Contract) Collection logo https://github.com/DSpace/Rest7Contract/pull/84 1 APPROVAL
- (REST Contract) collection item template https://github.com/DSpace/Rest7Contract/pull/85 1 APPROVAL
- (REST) Remove unnecessary dspace.restUrl and fix default configuration: https://github.com/DSpace/DSpace/pull/2554
- (REST) Authority control bugfixes https://github.com/DSpace/DSpace/pull/2528
- (Blocked PRs go here)
Delayed / Needs Discussion
- Managing Authorization info in Angular UI: How to pass Authorization rights (i.e. logged in user's access rights) from REST API to Angular? See for example: https://github.com/DSpace/dspace-angular/issues/393
- Can this be achieved via passed HAL "_links" (e.g. the existence of an "edit" link in REST response means you must have Edit rights)?
- In July 25 meeting, we noted this probably cannot be resolved with just one simple solution. May need to look at different options for different scenarios
- Also likely to need to store/cache a user's Groups in UI layer, as some areas (e.g. Administrative) require knowledge of user group membership
- REST API Projections:
DS-3533Getting issue details...
- Early work begun at https://github.com/DSpace/DSpace/pull/1847. Discussed in more detail in our Aug 22 meeting. Overall, this approach seems like a good direction, need volunteers to move it forward.
- Initial Performance Testing from Chris.
- (REST Contract) Edit Homepage News: https://github.com/DSpace/Rest7Contract/pull/45
- Delayed until after Preview release. General agreement (in meeting on March 21, 2019) that storing HTML in metadata fields is not really ideal behavior. Metadata (from a librarian standpoint) tends to be free of format-related markup (as that allows for easier sharing, understanding of metadata. Currently Community & Collection homepage information is HTML-based and is stored in metadata that is appropriate for a minor subset of information (like the title) but it is better to move large/rich text to bitstreams.
- Proposal here is to consider storing HTML-based markup (for Site, Community & Collection homepages) in Bitstream(s) associated with the object in question. May allow for more CMS-lite behavior in the future
- Timeline for this is uncertain. Possibly in 7 or 8. May depend on how/whether it can be scoped.
- Concurrency in DSpace 7 (or 8). What do we want to do when multiple editors are editing the same object? Needs further analysis regarding implementation details
- We've decided (in meeting on March 7, 2019) to use ETags to implement concurrency. REST Contract notes on ETags: https://github.com/DSpace/Rest7Contract#etags--conditional-headers
- ETags only update of the two fields match. If someone edits first, your edit would fail and you would get a fail response (422?)
- ETags seems to have broader support in other REST APIs. Recommended also by both Art and Andrea.
- Discussion of managing Authorization in DSpace 7.
- Some specific use cases / needs require multiple authorization checks. For example, Moving an Item requires permissions on both the Item itself and the Collection you are moving it to.
- Ideally, we all agree that the Angular UI should know as little about resource policies / authorization as it needs to. Longer term, it'd be great to be able to essentially ask the REST API "can I move this item to this collection?" and get a response which lets the Angular UI know whether to display that "move" button. However, that sort of logic will require backend refactoring of the Authorization system...and it'd be out of scope for DSpace 7.
- For DSpace 7, we'll need to use an approach similar to DSpace 6...where unfortunately the UI will need to have more "understanding" of which permissions to check, and in some scenarios it might need to do multiple queries....e.g. moving an Item may require two queries...first, can this user edit the Item? second, can this user Add to the Collection?
- Andrea notes we may be able to use HTTP OPTIONS method to do some of these requests. It's purpose is to return what HTTP actions you can perform (so, it'll say whether you have permissions to GET, POST, PUT, PATCH or DELETE). Some examples: https://codedestine.com/rest-options-restful-web-services/
- Ben notes that sounds good, but in some scenarios there's not an easy "mapping" of an HTTP action to a permission level. For example, withdrawing an item or moving an item don't map very well necessarily.
- There's also the problem of permission inheritance. Admins don't have explicit ResourcePolicy permissions on all objects, but inherit implicit permissions based on being a member of the Administrator Group. This implicit/explicit permission checking is performed in our AuthorizeService: https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/authorize/AuthorizeServiceImpl.java
- Should we be creating an endpoint that simply maps to the functionality of AuthorizeService?
- Andrea seems to agree here but was calling this the "resourcepolicy" endpoint
- Tim notes that naming is confusing, because ResourcePolicy is a separate object with a separate Service....and those only detail explicit permissions, and not implicit ones. https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/authorize/ResourcePolicyServiceImpl.java
- AuthorizeService is what we'd want to use to avoid rewriting the implicit permission logic there. It uses the ResourcePolicy service to gather explicit permissions as well.
- Next Steps: Andrea will draft a REST Contract for next week
- Atmire will provide some example use cases for that REST Contract to take into account
- We will analyze this again next week to see how best to implement on REST Side
- Lieven notes that simplifying the REST side can sometimes make things harder on the Angular side. Tim agrees, and notes that next week's discussion will be about finding the right balance for DSpace 7.
- Meeting ended.