I would like to hide all tables except the selected one from a user unless they have specific privileges.
I am thinking maybe the following at the top of appadmin.py
if auth.has_permission('Operations', auth.user.id):
tables = [copy.copy(t) for t in db]
db = DAL(db._connection)
for t in tables: db.define_table(t)
Would this approach work and be appropriate?
--
Thadeus

