Description
IF user has scope level external function privilege only, user can add library but cannot add function:
user1 has Manage Scopes [abucket:user1] , Query Select [abucket:user1:*] , Manage Scope External Functions [abucket:user1] , Execute Scope External Functions [abucket:user1] ... and can add via CLI:
cbq> CREATE OR REPLACE FUNCTION default:abucket.user1.add() LANGUAGE JAVASCRIPT AS "add" AT "abucket:user1:math" ; |
{
|
"requestID": "8d11f056-99c0-4a10-85b7-6a50550744d2", |
"signature": null, |
"results": [ |
],
|
"status": "success", |
|