Is your feature request related to a problem? Please describe.
E.g., a building created with --wheelchair-accessible 0 (i.e. set to "no" by default) should change to "yes" if at least one room provides --wheelchair-accessible 1 i.e. "yes" on any floor of this building.
E.g., a building with --wheelchair-accessible 1 (i.e. set to "yes" by creating or changing logic) should change to "no" if not any room provides --wheelchair-accessible 1 i.e. "yes" on any floor of this building any more.
Describe the solution you'd like
The minimum solution should be available to the CLI like follows.
Setting an option to "wheelchair" should be addable by reasonable logic like:
calendar-resource:room:set room_id 110 --wheelchair-accessible 1
e.g., addressing room "110" on floor "1" in building "1" for the benefit of this example as this line might miss the necessary floor id and/or the building id, I presume.
Thus by internal logic causing a command chain consecutively like:
calendar-resource:floor:set floor_id 11 --wheelchair-accessible 1
e.g., addressing floor "1" in building "1" for the benefit of this example as this line might miss the necessary building id, I presume.
calendar-resource:building:set building 1 --wheelchair-accessible 1
Describe alternatives you've considered
Hurting my fingers by re-typing endless commands on CLI as a poor admin to many users? Meh.
Is your feature request related to a problem? Please describe.
E.g., a building created with
--wheelchair-accessible 0
(i.e. set to "no" by default) should change to "yes" if at least one room provides--wheelchair-accessible 1
i.e. "yes" on any floor of this building.E.g., a building with
--wheelchair-accessible 1
(i.e. set to "yes" by creating or changing logic) should change to "no" if not any room provides--wheelchair-accessible 1
i.e. "yes" on any floor of this building any more.Describe the solution you'd like
The minimum solution should be available to the CLI like follows.
Setting an option to "wheelchair" should be addable by reasonable logic like:
calendar-resource:room:set room_id 110 --wheelchair-accessible 1
e.g., addressing room "110" on floor "1" in building "1" for the benefit of this example as this line might miss the necessary floor id and/or the building id, I presume.Thus by internal logic causing a command chain consecutively like:
calendar-resource:floor:set floor_id 11 --wheelchair-accessible 1
e.g., addressing floor "1" in building "1" for the benefit of this example as this line might miss the necessary building id, I presume.calendar-resource:building:set building 1 --wheelchair-accessible 1
Describe alternatives you've considered
Hurting my fingers by re-typing endless commands on CLI as a poor admin to many users? Meh.
Additional context
ref #117 ref #83