Skip to content

Commit

Permalink
Merge pull request #288 from terminusdb/fix-type
Browse files Browse the repository at this point in the history
Make AccessControl manageCapability scopeType param optional
  • Loading branch information
KittyJose authored Jul 18, 2023
2 parents 791ed8c + 68538b1 commit 0c39d82
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# TerminusDB Client v10.0.32
## Fixes 🛠
* Make AccessControl manageCapability scopeType param optional
# TerminusDB Client v10.0.30
## Fixes 🛠
* Fix schema endpoint for system database
Expand Down
4 changes: 2 additions & 2 deletions lib/accessControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ AccessControl.prototype.createOrganization = function (orgName) {
* @param {string} orgName - The organization name to delete
* @return {Promise} A promise that returns the call response object, or an Error if rejected.
* @example
* accessControl.createOrganization("my_org_name").then(result=>{
* accessControl.deleteOrganization("my_org_name").then(result=>{
* console.log(result)
* })
*/
Expand Down Expand Up @@ -304,7 +304,7 @@ AccessControl.prototype.deleteUser = function (userId) {
* @param {string} resourceName - the name of a (database or team)
* @param {array} rolesArr - the roles name list
* @param {typedef.CapabilityCommand} operation - grant/revoke operation
* @param {typedef.ScopeType} scopeType - the resource type (database or organization)
* @param {typedef.ScopeType} [scopeType] - the resource type (database or organization)
* @return {Promise} A promise that returns the call response object, or an Error if rejected.
* @example
* //we add an user to an organization and manage users' access
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@terminusdb/terminusdb-client",
"version": "10.0.31",
"version": "10.0.32",
"description": "TerminusDB client library",
"main": "index.js",
"types": "./dist/typescript/index.d.ts",
Expand Down

0 comments on commit 0c39d82

Please sign in to comment.