resources: Enhancements to user and group
This patch adds autoedges between users and groups, and extends users with additional fields for supplementary groups and a named primary group. Also, some small fixes to log and error messages.
This commit is contained in:
19
examples/autoedges4.yaml
Normal file
19
examples/autoedges4.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
graph: mygraph
|
||||
resources:
|
||||
user:
|
||||
- name: edgeuser
|
||||
state: absent
|
||||
gid: 10000
|
||||
- name: edgeuser2
|
||||
state: exists
|
||||
group: edgegroup
|
||||
groups: [edgegroup2, edgegroup3]
|
||||
group:
|
||||
- name: edgegroup
|
||||
state: exists
|
||||
gid: 10000
|
||||
- name: edgegroup2
|
||||
state: exists
|
||||
- name: edgegroup3
|
||||
state: exists
|
||||
Reference in New Issue
Block a user