You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that the first time I created an Enforcer when the database was empty and checked if the request was fulfilled without any issues, but when the database included these policies, creating an Enforcer would result in an error message: extraneous or missing "in quoted field". What is the problem? Please help me.
I am using an adapter based on MongoDB:
a, err:=mongodbadapter.NewAdapterWithClientOption(mongoClientOption, databaseName)
iferr!=nil {
panic(err)
}
e, err:=casbin.NewEnforcer("../conf/abac_model.conf", a)