* Introduced new permissions for making app public and inviting users. * WIP : Returning a subset of roles depending on the current user's role * Added code and tests for generating hierarchical children given a role name * Get all invite roles now returns roles depending on the current users permissions (aka - admin can invite users for all roles, developers can invite users for roles develoeprs and below) * When invite api is called, check if the user has correct permissions ( invite permission) and check if the role for which the users are bieng invited is allowed (aka the current user has the permission to invite for the said role) * Introduced a new permission at application level which is inherited from manage:organizations. This new permission gives the administrator of the organization to make any application public . * Incorporated review comments. * Minor code changes. * Added migration script to add the new policies introduced as part of this new share modal changes. * Null pointer exception handled due to improper data in the database. * Integration testing bug fixes. |
||
|---|---|---|
| .. | ||
| appsmith-interfaces | ||
| appsmith-plugins | ||
| appsmith-server | ||
| envs | ||
| mongo-seed | ||
| scripts | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| build.sh | ||
| buildpack-run.sh | ||
| docker-compose.yml | ||
| Dockerfile | ||
| entrypoint.sh | ||
| pom.xml | ||
| Procfile | ||
| README.md | ||
| system.properties | ||
Appsmith Server
This is the server-side repo for the Appsmith framework.
How to build
$ ./build.sh <arguments>
For example:
$ ./build.sh -DskipTests
This will
- Compile the code
- Generate the jars for server & plugins
- Copy them into the
distdirectory
How to run
$ cd ./dist
$ java -jar -Dspring.profiles.active=$env server-1.0-SNAPSHOT.jar
How to test
In order to test the code, you can run the following command
mvn -B clean package
Please make sure that you have a local Redis instance running for the test cases. The MongoDB is run in-memory during tests so that shouldn't be a problem.