New user cannot access any tables

Feature(s) impacted

We onboarded a new user in our company. I added him to FA but he cannot access any tables (he can only access our dashboard).

Observed behavior

I assigned the new employee (let’s call him “John”) the exact Team / role / permission level as other employees who can access all tables without any issue but, somehow, John cannot access data.

Expected behavior

I would expect that a user that has the same Team / role / permission level as other users would be able to access the same data / tables.

Failure Logs

N.A.

Context

  • Project name: Fairmint Series
  • Team name: Fairmint
  • Environment name: Production and Dev_database
  • Database type: Postgresql
  • Recent changes made on your end if any: None.

And, if you are self-hosting your agent:

  • Agent technology: nodejs
  • Agent (forest package) name & version (from your .lock file):
  • @forestadmin/agent : 1.64.5
  • @forestadmin/datasource-customizer : 1.67.1
  • @forestadmin/datasource-sequelize : 1.13.0
  • @forestadmin/datasource-sql : 1.17.1
  • @forestadmin/forestadmin-client : 1.36.13

Here is his network tab:

Hello,

Thank you for your message. This is a known issue.

The user was created successfully with the correct permissions, and the server is sending the expected notification to inform the agent of the change. However, the issue originates from SSE (Server-Sent Events).

In practice, this means the Forest server is having difficulties notifying your agent that it needs to refresh permissions. This is often caused by buffering, as some reverse proxies may ignore certain messages.

Here are a few important points:

  • You can confirm this issue in your logs with the error message:
    Unable to detect ServerSentEvents Heartbeat.
    This indicates that server messages are not reaching the agent, and the errors will continue to occur.

- To resolve this, please add the following configuration to your reverse proxy:

fastcgi_buffering off;
proxy_buffering off;

- You can also find a reference to this issue in our documentation:
Forest Admin Troubleshooting – Invalid Permissions

  • Please note that your agent will refresh its permissions when it starts, so a restart will quickly fix the problem for the moment.

Please don’t hesitate to reach out if you need further assistance after applying this fix.

Best regards,

3 Likes

that solved it! Thanks a bunch