• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CenterForOpenScience / ember-osf-web / 12894823229

21 Jan 2025 07:59PM UTC coverage: 64.514% (-0.4%) from 64.934%
12894823229

push

github

web-flow
Feature/institutional access (#2471)

Description:
Update role permissions to enable institutional administrators to make metadata revisions. This is critical to enabling increased control for institutional admins, supporting researchers in metadata curation and meeting data sharing policies.
Enable reviews workflow that allows institutional admins to add or remove affiliations from OSF content if appropriate. This is critical to enabling increased control for institutional admins as they monitor data sharing compliance.

Impact:
OSFI members are facing new requirements on data sharing and need workflows to support compliance. Renewals could decline as other tools enable these solutions and OSF doesn’t; new revenue potential with solutions that meet data sharing compliance needs.

Commitment:
We have 50+ OSFI members that haven’t had new features on OSF since joining, we need to listen to their needs and help make it easy and possible for them to enact open scholarship practices with their researchers. 

[ENG-4980]

2742 of 4666 branches covered (58.77%)

Branch coverage included in aggregate %.

5 of 83 new or added lines in 5 files covered. (6.02%)

6979 of 10402 relevant lines covered (67.09%)

199.42 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

33.33
/app/adapters/node-request.ts
1
import { inject as service } from '@ember/service';
2
import config from 'ember-osf-web/config/environment';
3
const { OSF: { apiUrl } } = config;
1✔
4
import OsfAdapter from './osf-adapter';
5

6
export default class NodeRequestAdapter extends OsfAdapter {
7
    @service session;
8

9
    urlForCreateRecord(modelName, snapshot) {
NEW
10
        const nodeId = snapshot.record.target;
×
NEW
11
        return `${apiUrl}/v2/nodes/${nodeId}/requests/`;
×
12
    }
13
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc