Added GET permissions endpoint
Added GET permissions endpoint