refactored to use map instead of multi if branches
refactored to use map instead of multi if branches

refactored validation to check for specific object types

added support for grant option in privilege listing

added support for grant option in privilege checks

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt