| Deepak Kodihalli | 4b271e1 | 2017-05-13 09:57:52 -0500 | [diff] [blame] | 1 | description: > |
| 2 | Implement to specify a restricted mode of operation. | ||||
| 3 | |||||
| 4 | properties: | ||||
| 5 | - name: RestrictionMode | ||||
| 6 | type: enum[self.Modes] | ||||
| 7 | description: > | ||||
| 8 | The restriction mode. | ||||
| 9 | |||||
| 10 | enumerations: | ||||
| 11 | - name: Modes | ||||
| 12 | description: > | ||||
| 13 | Possible modes of restriction. | ||||
| 14 | values: | ||||
| 15 | - name: None | ||||
| 16 | description: > | ||||
| 17 | No restriction. | ||||
| 18 | - name: Whitelist | ||||
| 19 | description: > | ||||
| 20 | Allow, only if in the whitelist. | ||||
| 21 | - name: Blacklist | ||||
| 22 | description: > | ||||
| 23 | Prevent, if in the blacklist. | ||||