|
1
|
type: object |
|
2
|
description: The details of an RBAC policy. |
|
3
|
x-schemaName: AdminRbacPolicy |
|
4
|
required: |
|
5
|
- id |
|
6
|
- key |
|
7
|
- resource |
|
8
|
- operation |
|
9
|
- name |
|
10
|
- description |
|
11
|
- metadata |
|
12
|
- created_at |
|
13
|
- updated_at |
|
14
|
- deleted_at |
|
15
|
properties: |
|
16
|
id: |
|
17
|
type: string |
|
18
|
title: id |
|
19
|
description: The policy's ID. |
|
20
|
key: |
|
21
|
type: string |
|
22
|
title: key |
|
23
|
description: The policy's key. |
|
24
|
resource: |
|
25
|
type: string |
|
26
|
title: resource |
|
27
|
description: The resource that the policy applies to. |
|
28
|
example: product |
|
29
|
operation: |
|
30
|
type: string |
|
31
|
title: operation |
|
32
|
description: The operation that the policy allows or denies. |
|
33
|
example: create |
|
34
|
name: |
|
35
|
type: string |
|
36
|
title: name |
|
37
|
description: The policy's name. Used for display purposes. |
|
38
|
description: |
|
39
|
type: string |
|
40
|
title: description |
|
41
|
description: The policy's description. |
|
42
|
metadata: |
|
43
|
type: object |
|
44
|
description: Key-value pairs that hold additional information about the policy. |
|
45
|
inherited_from_role_id: |
|
46
|
type: string |
|
47
|
title: inherited_from_role_id |
|
48
|
description: The ID of the role from which the policy is inherited. |
|
49
|
created_at: |
|
50
|
type: string |
|
51
|
format: date-time |
|
52
|
title: created_at |
|
53
|
description: The date the policy was created. |
|
54
|
updated_at: |
|
55
|
type: string |
|
56
|
format: date-time |
|
57
|
title: updated_at |
|
58
|
description: The date the policy was last updated. |
|
59
|
deleted_at: |
|
60
|
type: string |
|
61
|
format: date-time |
|
62
|
title: deleted_at |
|
63
|
description: The date the policy was deleted. |