-
Notifications
You must be signed in to change notification settings - Fork 17
Security controller documentation #417
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #417 +/- ##
======================================
Coverage 96.3% 96.3%
======================================
Files 32 32
Lines 1517 1517
======================================
Hits 1461 1461
Misses 56 56 Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #417 +/- ##
=========================================
+ Coverage 96.3% 96.41% +0.1%
=========================================
Files 32 32
Lines 1517 1535 +18
=========================================
+ Hits 1461 1480 +19
+ Misses 56 55 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Congrats !
doc/6/controllers/security/delete-credentials/snippets/delete-credentials.js
Show resolved
Hide resolved
doc/6/controllers/security/update-role-mapping/snippets/update-role-mapping.js
Show resolved
Hide resolved
doc/6/controllers/security/update-user-mapping/snippets/update-user-mapping.js
Show resolved
Hide resolved
doc/6/controllers/security/update-user-mapping/snippets/update-user-mapping.js
Show resolved
Hide resolved
doc/6/controllers/security/update-user-mapping/snippets/update-user-mapping.js
Show resolved
Hide resolved
Co-Authored-By: Adrien Maret <[email protected]>
Co-Authored-By: Adrien Maret <[email protected]>
…o/sdk-javascript into kzl-1174-doc-security-controller
Codecov Report
@@ Coverage Diff @@
## master #417 +/- ##
==========================================
+ Coverage 96.3% 96.45% +0.14%
==========================================
Files 32 33 +1
Lines 1517 1550 +33
==========================================
+ Hits 1461 1495 +34
+ Misses 56 55 -1
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## 6-dev #417 +/- ##
=======================================
Coverage 96.45% 96.45%
=======================================
Files 33 33
Lines 1550 1550
=======================================
Hits 1495 1495
Misses 55 55 Continue to review full report at Codecov.
|
<br /> | ||
|
||
```js | ||
createFirstAdmin(kuid, body, [options]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The kuid is optional and should be put in the options object
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not in the sdk and would induce a breaking change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should fix our documentation then
...6/controllers/security/create-or-replace-profile/snippets/create-or-replace-profile.test.yml
Outdated
Show resolved
Hide resolved
doc/6/controllers/security/create-or-replace-role/snippets/create-or-replace-role.test.yml
Outdated
Show resolved
Hide resolved
doc/6/controllers/security/create-profile/snippets/create-profile.test.yml
Outdated
Show resolved
Hide resolved
doc/6/controllers/security/delete-profile/snippets/delete-profile.test.yml
Outdated
Show resolved
Hide resolved
doc/6/controllers/security/delete-role/snippets/delete-role.test.yml
Outdated
Show resolved
Hide resolved
doc/6/controllers/security/delete-user/snippets/delete-user.test.yml
Outdated
Show resolved
Hide resolved
I took the liberty to change the target base from |
Co-Authored-By: Sébastien Cottinet <[email protected]>
…create-or-replace-profile.test.yml Co-Authored-By: Sébastien Cottinet <[email protected]>
Co-Authored-By: Sébastien Cottinet <[email protected]>
Co-Authored-By: Sébastien Cottinet <[email protected]>
…st.yml Co-Authored-By: Sébastien Cottinet <[email protected]>
…st.yml Co-Authored-By: Sébastien Cottinet <[email protected]>
…ile.test.yml Co-Authored-By: Sébastien Cottinet <[email protected]>
Co-Authored-By: Sébastien Cottinet <[email protected]>
…ile.test.yml Co-Authored-By: Sébastien Cottinet <[email protected]>
Co-Authored-By: Sébastien Cottinet <[email protected]>
…ate-or-replace-role.test.yml Co-Authored-By: Sébastien Cottinet <[email protected]>
…ate-restricted-user.test.yml Co-Authored-By: Sébastien Cottinet <[email protected]>
…st.yml Co-Authored-By: Sébastien Cottinet <[email protected]>
Co-Authored-By: Sébastien Cottinet <[email protected]>
…credentials.test.yml Co-Authored-By: Sébastien Cottinet <[email protected]>
# [6.2.0](https://github.com/kuzzleio/sdk-javascript/releases/tag/6.2.0) (2019-07-31) #### Bug fixes - [ [#428](#428) ] Properly handle boolean flags in HTTP querystrings ([scottinet](https://github.com/scottinet)) - [ [#427](#427) ] Solve promise+event+memory leaks when the network fails ([scottinet](https://github.com/scottinet)) - [ [#424](#424) ] Prevent pending request leak when disconnect the SDK ([Aschen](https://github.com/Aschen)) - [ [#422](#422) ] Fix bug when decoding JWT in browser ([Aschen](https://github.com/Aschen)) - [ [#420](#420) ] Fix http protocol unresolved promise on connection error ([Aschen](https://github.com/Aschen)) #### New features - [ [#419](#419) ] Add bulk:write and bulk:mWrite ([Aschen](https://github.com/Aschen)) #### Enhancements - [ [#421](#421) ] Get api routes from server:publicApi ([Aschen](https://github.com/Aschen)) - [ [#423](#423) ] Emit queryError event on malformed request ([Aschen](https://github.com/Aschen)) - [ [#417](#417) ] Security controller documentation ([benoitvidis](https://github.com/benoitvidis)) ---
What does this PR do?
Add documentation for the security controller.
Other changes
npm run doc
command to serve the documentation in development mode