PromucFlow_constructor/app/server
Trisha Anand 7ee21456d5
Share Changes : Adding users to organization permission updates (#262)
* 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.
2020-08-12 13:23:44 +05:30
..
appsmith-interfaces Change return type of plugin execution to be more specific (#247) 2020-08-10 14:41:32 +05:30
appsmith-plugins Fix numbers being converted to floats in JSON Post body (#241) 2020-08-11 14:07:34 +05:30
appsmith-server Share Changes : Adding users to organization permission updates (#262) 2020-08-12 13:23:44 +05:30
envs Database credentials encryption in MongoDB (#80) 2020-07-14 14:45:08 +05:30
mongo-seed Code formatting corrected. 2020-04-20 18:17:25 +05:30
scripts Mysql plugin integration (#53) 2020-07-21 16:01:42 +05:30
.gitignore Move application configuration to be loaded from environment variables (#23) 2020-07-06 14:35:56 +05:30
.gitlab-ci.yml Merge branch 'release' into feature/acl-spring-object 2020-06-12 19:14:31 +05:30
build.sh Merge branch 'release' into feature/acl-spring-object 2020-06-12 19:14:31 +05:30
buildpack-run.sh Merge branch 'release' into feature/acl-spring-object 2020-04-28 18:13:06 +05:30
docker-compose.yml Minor fix to create certbot directories during installation (#211) 2020-08-03 21:07:40 +05:30
Dockerfile Creating dockerfile that creates the server image. 2019-11-14 12:50:37 +00:00
entrypoint.sh Merge branch 'release' into feature/acl-spring-object 2020-04-28 18:13:06 +05:30
pom.xml Add maven-license-plugin to the project (#73) 2020-07-10 15:58:04 +05:30
Procfile Adding the JVM parameter to ensure that java stays within the memory limits set by the container 2019-10-21 12:23:00 +05:30
README.md Reuse layout that's automatically created with page (#163) 2020-07-25 18:13:29 +05:30
system.properties Setting java version to 11 in system.properties. 2019-09-16 16:54:28 +05:30

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

  1. Compile the code
  2. Generate the jars for server & plugins
  3. Copy them into the dist directory

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.