-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ac3869
commit 32ca96e
Showing
3 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1061,12 +1061,13 @@ module.exports = (function () { | |
* : | ||
* "email" : "[email protected]" | ||
* | ||
* | ||
* @param {string} a_object_id - the identity of a record or collection or project | ||
* | ||
* "d/fdakjfla" | ||
* "p/big_thing" | ||
* "c/my_collection" | ||
* | ||
* @returns {boolean} - if client has admin rights on the object. | ||
**/ | ||
obj.hasAdminPermObject = function (a_client, a_object_id) { | ||
if (a_client.is_admin) return true; | ||
|
@@ -3188,9 +3189,10 @@ module.exports = (function () { | |
}; | ||
|
||
/** | ||
* | ||
* @param token_type {object.AccessTokenType} Type to determine parse logic. | ||
* @param token_type {integer} - Type to determine parse logic. | ||
Check failure on line 3192 in core/database/foxx/api/support.js GitHub Actions / lint-javascript
|
||
* | ||
* @param other_token_data {string} | ||
Check failure on line 3194 in core/database/foxx/api/support.js GitHub Actions / lint-javascript
|
||
* | ||
* String of additional token data, delimited by the '|' character. | ||
* The format is determined by the token type. | ||
* Currently expecting the following formats: | ||
|