This issue is an idea for a module crawler that could be part of viur-cli and performs the following tasks:
- Log-in to a VIUR system with given credentials (admin-level)
- Fetch all modules taken from adminInfo /
/vi/config
- The iterate over all modules, with a new session
- for every module check
- view
- list (if possible)
- add (if possible)*
- edit*
- delete (if possible)*
- index?
- There might also be an option to perform above steps for given users, which are automatically set from the admin (requires default function to set any user when in admin mode, to avoid providing credentials)
- Finally, or during execution, a report shall be printed showing which modules allow to read or modify data without user or with a given user.
*) here, a given way must be followed. Maybe grab one item and try to edit it, without any values (amend feature), no data should really be changed
This issue is an idea for a module crawler that could be part of viur-cli and performs the following tasks:
/vi/config*) here, a given way must be followed. Maybe grab one item and try to edit it, without any values (amend feature), no data should really be changed