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

fix(node): default permissions should be NONE and fix undefined return #630

Merged
merged 1 commit into from Apr 24, 2023

Conversation

skjnldsv
Copy link
Contributor

@skjnldsv skjnldsv commented Apr 23, 2023

return this._data.permissions || Permission.READ

This fails if permissions = NONE (0)

@skjnldsv skjnldsv self-assigned this Apr 23, 2023
@skjnldsv skjnldsv added the bug Something isn't working label Apr 23, 2023
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
@skjnldsv skjnldsv force-pushed the fix/default-node-permissions branch from ac82aa7 to 3b9ade4 Compare April 23, 2023 08:09
@codecov
Copy link

codecov bot commented Apr 23, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (3952cc2) 100.00% compared to head (3b9ade4) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #630   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          242       242           
  Branches        68        68           
=========================================
  Hits           242       242           
Impacted Files Coverage Δ
lib/files/node.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@skjnldsv skjnldsv merged commit dbdb6d6 into master Apr 24, 2023
11 checks passed
@delete-merged-branch delete-merged-branch bot deleted the fix/default-node-permissions branch April 24, 2023 08:56
@skjnldsv skjnldsv mentioned this pull request Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants