Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept array of permCodes for user creating a bucket #264

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

TimCsaky
Copy link
Contributor

@TimCsaky TimCsaky commented Jun 20, 2024

Description

This code change allows createBucket to be called with an additional 'permCodes' parameter.
The current user will be granted those permissions, where previously they always received all permissions.
https://apps.nrs.gov.bc.ca/int/jira/browse/SHOWCASE-3704

Types of changes

New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING doc
  • I have checked that unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

Copy link

Coverage Report

Totals Coverage
Statements: 61.12% ( 3051 / 4992 )
Methods: 50.99% ( 335 / 657 )
Lines: 68.14% ( 1831 / 2687 )
Branches: 53.7% ( 885 / 1648 )

app/src/services/bucket.js Show resolved Hide resolved
app/src/services/bucket.js Show resolved Hide resolved
Copy link

codeclimate bot commented Jun 20, 2024

Code Climate has analyzed commit d6d71fd and detected 2 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 2

The test coverage on the diff in this pull request is 71.4% (50% is the threshold).

This pull request will bring the total coverage in the repository to 68.1% (0.0% change).

View more on Code Climate.

@TimCsaky TimCsaky marked this pull request as ready for review June 20, 2024 16:54
@jatindersingh93 jatindersingh93 merged commit 58a5dc7 into master Jun 20, 2024
13 checks passed
@TimCsaky TimCsaky deleted the create-bucket-perms branch September 17, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants