35 lines
		
	
	
		
			579 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
		
		
			
		
	
	
			35 lines
		
	
	
		
			579 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
|   | privileges: &privileges
 | ||
|  |   flavor: "rwx"
 | ||
|  |   group: "rwx"
 | ||
|  |   image: "rwx"
 | ||
|  |   project: "rwx"
 | ||
|  |   server: "rwx"
 | ||
|  |   key: "rwx"
 | ||
|  |   user: "rwx"
 | ||
|  |   filter: "rwx"
 | ||
|  |   network: "rwx"
 | ||
|  |   provider: "rwx"
 | ||
|  |   script: "rwx"
 | ||
|  |   templates: "rwx"
 | ||
|  |   stack: "rwx"
 | ||
|  |   stack_template: "rwx"
 | ||
|  | 
 | ||
|  | show: &valid_show
 | ||
|  |   email: "test@test.test"
 | ||
|  |   privileges: *privileges
 | ||
|  |   id: "test"
 | ||
|  | 
 | ||
|  | update: &valid_update
 | ||
|  |   email: cucumber_test@test.test
 | ||
|  |   password: test
 | ||
|  | 
 | ||
|  | create: &valid_create
 | ||
|  |   <<: *valid_update
 | ||
|  |   username: cucumber_test
 | ||
|  | 
 | ||
|  | privileges_values: ['', r, w, x, rw, rx, wx, rwx]
 | ||
|  | 
 | ||
|  | privileges_update:
 | ||
|  |   cmd: all
 | ||
|  |   privileges: r
 |