+ lavatory -v policies
[DEBUG] lavatory.commands.policies Passed args: <click.core.Context object at 0x7f78fbb36fd0>, None, (), local
[WARNING] lavatory.utils.get_artifactory_info Account is not an admin and may not be able to get storage details.
[DEBUG] lavatory.utils.get_artifactory_info Storage info: []
[INFO] lavatory.utils.setup_pluginbase Searching for policies in ['/home/saviles/data/git/github/lavatory/src/lavatory/utils/../policies']
[DEBUG] lavatory.utils.setup_pluginbase Policies found: ['default']
[]
+ lavatory stats --repo=docker
[WARNING] lavatory.utils.get_artifactory_info Account is not an admin and may not be able to get storage details.
User does not have "Admin Privileges" to generate statistics.
+ lavatory purge --policies-path=/home/saviles/retention-policies/
[WARNING] lavatory.utils.get_artifactory_info Account is not an admin and may not be able to get storage details.
[WARNING] lavatory.utils.get_artifactory_info Account is not an admin and may not be able to get storage details.
[INFO] lavatory.utils.setup_pluginbase Searching for policies in ['/home/saviles/retention-policies/', '/home/saviles/data/git/github/lavatory/src/lavatory/utils/../policies']
[INFO] lavatory.commands.purge Applying retention policies to
[INFO] lavatory.commands.purge User does not have "Admin Privileges" to generate performance details.
[INFO] lavatory.commands.purge Success.
This attempts to address the output when
lavatory
is run with an account that is not containAdmin Privileges
.Account with admin access
Account without admin access
This should fix and address issue #32.