Added new permissions
Added new permissions for layers
fixed a typo
FIxed a typo
Added permissin can_download_metadata
Added permission can_download_metadata
Customized according to new permissions
Made necessary changes for new permissions
made changes required for new permissions