I was pondering on an issue regarding permission c...
# spicedb
a
I was pondering on an issue regarding permission checks, would appreciate any insight from you guys. I wish to do conditional rendering on my frontend based on the permission the user has. For example, if the user has the permission to create an employee in the organization he should be able to do so. If in the future the permission for adding employees has been revoked then that part of the UI must not be rendered for the user. Would it be advisable to do permission check calls in my Next.js frontend itself or should I approach this problem differently? I am also worried about a lot of permission check requests going from my frontend and whether i would have to scale spicedb for this.