We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bbfb78 commit 58e1cccCopy full SHA for 58e1ccc
src/sidebar/helpers/permissions.js
@@ -14,6 +14,7 @@
14
* annotation
15
*/
16
17
+/** @param {string|null} savedLevel */
18
function defaultLevel(savedLevel) {
19
switch (savedLevel) {
20
case 'private':
@@ -60,6 +61,7 @@ export function sharedPermissions(userid, groupid) {
60
61
* @param {string} userid - User ID of the author
62
* @param {string} groupid - ID of the group the annotation is being shared
63
* with
64
+ * @param {string|null} savedLevel
65
* @return {Permissions}
66
67
export function defaultPermissions(userid, groupid, savedLevel) {
0 commit comments