Incomplete permissions list for entities when retrieved by anonymous admin
Summary
When the anonymous admin retrieves an entity, the permission list is incomplete. This causes the web ui to leave out some edit mode buttons.
Expected Behavior
The permissions list should be complete.
Actual Behavior
It is not.
Steps to Reproduce the Problem
In Python:
import caosdb as db
db.Info().user_info.name # Is empty, as it should be.
ent = db.execute_query("FIND Record with name like xyz*")[0]
ent.permissions
# Out[23]: {USE:AS_PARENT, RETRIEVE:HISTORY, USE:AS_REFERENCE, RETRIEVE:ENTITY, USE:AS_PROPERTY, RETRIEVE:FILE, RETRIEVE:OWNER, USE:AS_DATA_TYPE, RETRIEVE:ACL}
Specifications
- Version: Latest release
- Platform: Linux