Unable to access tables due to them being restricted

Feature(s) impacted

Viewing data in tables

Observed behavior

My backend is built with Django and whenever I create a new model and migrate the tables to the database it shows up in Forest Admin after syncing but I am unable to access the data. I get a message saying: " Data access forbidden Your role doesn’t grant you permission to view the data of this collection. Please contact the admin of this project." even though I am the owner of the project.

Expected behavior

I should be able to view the data in newly created tables.

Failure Logs


Context

  • Project name: Acumen-Internal-Dashboard
  • Team name: Operations
  • Environment name: Production
  • Agent (forest package) name & version: …
  • Database type: PostgreSQL
  • Recent changes made on your end if any: …

Hi @Skyjaheim2,

Welcome to Forest Admin!

For security reasons, any new table/collection added in your admin panel needs some permission update from the project administrator. And I think that’s exactly what is happening to you.

Displaying the collection is not sufficient, you need to edit the permission of your role in your project settings, to enable at least, the “Read (list)” permission for this new collection.

Here is the detailed documentation.

Let us know if it helps.

I just updated the permissions and it works now. Thank you!

1 Like

thanks @arnaud for your help on this one.

@Skyjaheim2 let me know if you need anything.

Best,