CityWebConsultants / Iris

Modular content management and web application framework built with Node.js and MongoDB
http://irisjs.org
Other
9 stars 7 forks source link

Fix permissions for entity viewing #86

Closed adam-clarey closed 8 years ago

adam-clarey commented 8 years ago

If the permission 'view any entity [type]' was not set but 'view own entity [type]' was set it was still preventing access.

This is incorrect as a user should be able to access the entity type if either of these permissions is set.