Skip to content

Conversation

Yoann-Abbes
Copy link
Contributor

What does this PR do?

Add [auth|security]:checkRights #571

How should this be manually tested?

  • Step 1 :
  • Step 2 :
  • Step 3 :
    ...

Other changes

Boyscout

@codecov
Copy link

codecov bot commented Dec 16, 2020

Codecov Report

Merging #577 (1e38014) into 7-dev (e1d55fc) will decrease coverage by 0.66%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##            7-dev     #577      +/-   ##
==========================================
- Coverage   88.28%   87.61%   -0.67%     
==========================================
  Files          32       32              
  Lines        1451     1462      +11     
  Branches      254      259       +5     
==========================================
  Hits         1281     1281              
- Misses        120      131      +11     
  Partials       50       50              
Impacted Files Coverage Δ
src/controllers/Auth.ts 72.83% <0.00%> (-2.81%) ⬇️
src/controllers/Security.js 94.92% <0.00%> (-2.11%) ⬇️
src/controllers/Document.ts 71.59% <0.00%> (ø)
src/controllers/Bulk.js
src/controllers/Bulk.ts 70.58% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e1d55fc...1e38014. Read the comment docs.

Copy link
Contributor

@Aschen Aschen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry Kuzzle documentation was not accurate, can you correct this PR with the new doc ?
kuzzleio/kuzzle#1912

Also can you choose better names for method arguments since they will be displayed in the editor with the jsdoc

@Yoann-Abbes Yoann-Abbes requested a review from Aschen December 24, 2020 02:17
Copy link
Contributor

@Aschen Aschen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The methods should directly returns the boolean IMHO


## Resolves

The returned result contains the following property:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The allowed boolean is directly returned

Yoann-Abbes and others added 14 commits December 29, 2020 14:52
@Yoann-Abbes Yoann-Abbes requested a review from Aschen December 29, 2020 14:06
@Yoann-Abbes Yoann-Abbes merged commit 23e0675 into 7-dev Jan 11, 2021
@Yoann-Abbes Yoann-Abbes deleted the checkrights branch January 11, 2021 15:05
@Aschen Aschen mentioned this pull request Jan 17, 2021
Aschen added a commit that referenced this pull request Jan 17, 2021
# [7.5.0](https://github.com/kuzzleio/sdk-javascript/releases/tag/7.5.0) (2021-01-17)


#### New features

- [ [#577](#577) ] Add [auth|security]:checkRights   ([Yoann-Abbes](https://github.com/Yoann-Abbes))
- [ [#576](#576) ] Add document:upsert   ([Yoann-Abbes](https://github.com/Yoann-Abbes))
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants