forked from MrRefactoring/jira.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreatePermissionScheme.ts
25 lines (24 loc) · 1.01 KB
/
createPermissionScheme.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { PermissionScheme } from '../models';
export interface CreatePermissionScheme extends Omit<PermissionScheme, 'expand'> {
/**
* Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note
* that permissions are always included when you specify any value. Expand options include:
*
* - `all` Returns all expandable information.
* - `field` Returns information about the custom field granted the permission.
* - `group` Returns information about the group that is granted the permission.
* - `permissions` Returns all permission grants for each permission scheme.
* - `projectRole` Returns information about the project role granted the permission.
* - `user` Returns information about the user who is granted the permission.
*/
expand?:
| 'all'
| 'field'
| 'group'
| 'permissions'
| 'projectRole'
| 'user'
| ('all' | 'field' | 'group' | 'permissions' | 'projectRole' | 'user')[]
| string
| string[];
}