Allow argument based permission to limit time
BrainStone opened this issue ยท 0 comments
While the argument based permissions are super useful to allow fine grained permissions, one thing I'm missing is a way to limit the time span when using things like addtemp
.
A suggestion would be allowing time steps being set in the config, that then get turned into indivdual permissions.
For example in the config the time steps are
- 1d
- 12h
- 45m
Then for an addtemp of 1 minute all steps are check from the highest to the lowest (perm nodes could look like ...addtemp.time.1d
, ...addtemp.time.12h`, etc)
But for setting it to like one hour, only the top two will be checked. Etc.
Maybe a infinity
node could be added by default too.