Go to file
Arpit Mohan 7f6b249bfd Merge branch 'feature/acl-bundle' into 'master'
Serving static bundle for ACL in Open Policy Agent

Open Policy Agent requires the server to serve a static bundle (tar.gz) file that contains the list of policies and data (if any) on which the authorization will be conducted on. This has been implemented using RouterFunctions (for lack of a better implementation) and at the moment, the bundle is served without any authentication. 

TODO: In the future, add authentication just for this endpoint so that only the OPA server can access this bundle.

Also optimizing the AclFilter to make a single MongoDB query instead of multiple for each group that the user is a part of.

See merge request theappsmith/internal-tools-server!39
2019-10-14 09:24:10 +00:00
app/server Adding a folder for public resources in order to serve OPA bundle 2019-10-14 09:24:09 +00:00