I’m trying to hook up homepage dashboard to TrueNas 25.04.2.6 and wanted to use a least privilege api key for this. The dashboard uses the following bits from the API, from what I think is the proper roles needed:
/api/v2.0/system/info
READONLY_ADMIN
/api/v2.0/pool
POOL_READ
/api/v2.0/pool/dataset
DATASET_READ
/api/v2.0/alert/list
ALERT_LIST_READ
I’ve created a group and a user and a new API key. If I edit the group and put it in Local Administrators, everything works. If I put it in Readonly Administrators, all api endpoints above give 403’s. If I create a new privilege, and put the above 4 roles into it, and assign the group to that role, I still get 403’s.
I believe the new role based access is marked experimental in 25.04, but should this work? Am I missing something? Any help or guidance would be greatly appreciated!
The permissions for the API key currently has Readonly Admin, Alert List Read, Dataset Read and Pool Read. If I change that to Full Admin, the Rest API works as normal.