mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-08 15:20:36 +02:00
Permissions
- Merged old Permission functionality into Command::permission, and updated it to handle single vs bulk updates and verbosity tokens.
This commit is contained in:
parent
cd6c681ba5
commit
6aee2fc7b9
2 changed files with 77 additions and 9 deletions
|
@ -65,6 +65,7 @@ protected:
|
|||
void modify_task (Task&, const A3&, std::string&);
|
||||
|
||||
void safety ();
|
||||
bool permission (const Task&, const std::string&, unsigned int);
|
||||
|
||||
bool next_mod_group (const A3&, Arg&, unsigned int&);
|
||||
|
||||
|
@ -74,6 +75,10 @@ protected:
|
|||
std::string _description;
|
||||
bool _read_only;
|
||||
bool _displays_id;
|
||||
|
||||
// Permission support
|
||||
bool _permission_quit;
|
||||
bool _permission_all;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue