interchange / TableEditor

25 stars 4 forks source link

Restrict access to tables with read permission #59

Closed racke closed 9 years ago

racke commented 9 years ago

Currently we show the following elements on /#/Product/list even if user has only read permission for Product class:

At least the new product button and delete icon should be hidden.

gregapompe commented 9 years ago

Added dcfec42fe537625ebd624d56b7fbba9e4a4b658f

racke commented 9 years ago

There is a glitch:

t/schema-info/interchange6.t .. keys on reference is experimental at /home/racke/interchange/TableEdit/lib/TableEdit/Permissions.pm line 86.
gregapompe commented 9 years ago

Ok, will patch it up.

gregapompe commented 9 years ago

fixed

racke commented 9 years ago

Thanks!