Refs #5217: Adding check that the consumer cert matches the passed in
consumer identity when present.
Merge pull request #4085 from ehelms/refs-5217

Refs #5217: Adding check that the consumer cert matches the passed in consumer identity when present.
Refs #5217: Moving permissions into lib/katello directory.
Merge pull request #4087 from ehelms/refs-5217

Refs #5217: Moving permissions into lib/katello directory.
Fixes #5682 - Handle Lifecycle env read perms better

1) Made env index call prune the return list based on read perms
2) Made the env page in the UI display paths appropriately based on read
perms
3) Updated the create env call to require read access on the prior
environment before one can create.