Casbin giving errors of can't find 'fs'
I am having issues with casbin and its clearly from my lack of experience with using it.
I am using strapi v4, in my authProvider I get the users role and store it along with the other useful information.
I am now trying to use casbin to load a different dashboard based on who is logged in either admin or user but I keep getting an error that it can't find 'fs'. I have been following the tutorial on the documents page.
I am using strapi v4, in my authProvider I get the users role and store it along with the other useful information.
I am now trying to use casbin to load a different dashboard based on who is logged in either admin or user but I keep getting an error that it can't find 'fs'. I have been following the tutorial on the documents page.
