Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9c97268

Browse files
authored
Merge pull request#713 from lowcoder-org/revert-app-view-validation
Revert App View Validation For Non-Published Apps
2 parentsc6a207a +cffdba8 commit9c97268

File tree

3 files changed

+30
-29
lines changed

3 files changed

+30
-29
lines changed

‎deploy/docker/README.md‎

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -21,33 +21,33 @@ DOCKER_BUILDKIT=1 docker build -f deploy/docker/Dockerfile -t lowcoderorg/lowcod
2121

2222
Image can be configured by setting environment variables.
2323

24-
| Environment variable| Description| Value|
25-
|---------------------------------| -----------------------------------------------------------------------| -----------------------------------------------------|
26-
|`LOWCODER_REDIS_ENABLED`| If**true** redis server is started in the container|`true`|
27-
|`LOWCODER_MONGODB_ENABLED`| If**true** mongo database is started in the container|`true`|
28-
|`LOWCODER_API_SERVICE_ENABLED`| If**true** lowcoder api-service is started in the container|`true`|
29-
|`LOWCODER_NODE_SERVICE_ENABLED`| If**true** lowcoder node-service is started in the container|`true`|
30-
|`LOWCODER_FRONTEND_ENABLED`| If**true** lowcoder web frontend is started in the container|`true`|
31-
|`LOWCODER_PUID`| ID of user running services. It will own all created logs and data.|`9001`|
32-
|`LOWCODER_PGID`| ID of group of the user running services.|`9001`|
33-
|`LOWCODER_MONGODB_URL`| Mongo database connection string|`mongodb://localhost:27017/lowcoder?authSource=admin`|
34-
|`LOWCODER_REDIS_URL`| Redis server URL|`redis://localhost:6379`|
35-
|`LOWCODER_DB_ENCRYPTION_PASSWORD`| Encryption password|`lowcoder.org`|
36-
|`LOWCODER_DB_ENCRYPTION_SALT`| Salt used for encrypting password|`lowcoder.org`|
37-
|`LOWCODER_CORS_DOMAINS`| CORS allowed domains|`*`|
38-
|`LOWCODER_MAX_REQUEST_SIZE`| Lowcoder max request size|`20m`|
39-
|`LOWCODER_MAX_QUERY_TIMEOUT`| Lowcoder max query timeout (in seconds)|`120`|
40-
|`LOWCODER_API_SERVICE_URL`| Lowcoder API service URL|`http://localhost:8080`|
41-
|`LOWCODER_NODE_SERVICE_URL`| Lowcoder Node service (js executor) URL|`http://localhost:6060`|
42-
|`LOWCODER_MAX_ORGS_PER_USER`| Default maximum organizations per user|`100`|
43-
|`LOWCODER_MAX_MEMBERS_PER_ORG`| Default maximum members per organization|`1000`|
44-
|`LOWCODER_MAX_GROUPS_PER_ORG`| Default maximum groups per organization|`100`|
45-
|`LOWCODER_MAX_APPS_PER_ORG`| Default maximum applications per organization|`1000`|
46-
|`LOWCODER_MAX_DEVELOPERS`| Default maximum developers|`100`|
47-
|`LOWCODER_WORKSPACE_MODE`| SAAS to activate, ENTERPRISE to switch off - Workspaces|`SAAS`|
48-
|`LOWCODER_EMAIL_SIGNUP_ENABLED`| Control if users create their own Workspace automatic when Sign Up|`true`|
49-
|`LOWCODER_EMAIL_AUTH_ENABLED`| Control to show the eMail Login after Admin user is set|`true`|
50-
|`MARKETPLACE_PRIVATE_MODE`| Control if not to show Apps on the local Marketplace to anonymous users|`true`|
24+
| Environment variable| Description| Value|
25+
|-------------------------------------| -----------------------------------------------------------------------| -----------------------------------------------------|
26+
|`LOWCODER_REDIS_ENABLED`| If**true** redis server is started in the container|`true`|
27+
|`LOWCODER_MONGODB_ENABLED`| If**true** mongo database is started in the container|`true`|
28+
|`LOWCODER_API_SERVICE_ENABLED`| If**true** lowcoder api-service is started in the container|`true`|
29+
|`LOWCODER_NODE_SERVICE_ENABLED`| If**true** lowcoder node-service is started in the container|`true`|
30+
|`LOWCODER_FRONTEND_ENABLED`| If**true** lowcoder web frontend is started in the container|`true`|
31+
|`LOWCODER_PUID`| ID of user running services. It will own all created logs and data.|`9001`|
32+
|`LOWCODER_PGID`| ID of group of the user running services.|`9001`|
33+
|`LOWCODER_MONGODB_URL`| Mongo database connection string|`mongodb://localhost:27017/lowcoder?authSource=admin`|
34+
|`LOWCODER_REDIS_URL`| Redis server URL|`redis://localhost:6379`|
35+
|`LOWCODER_DB_ENCRYPTION_PASSWORD`| Encryption password|`lowcoder.org`|
36+
|`LOWCODER_DB_ENCRYPTION_SALT`| Salt used for encrypting password|`lowcoder.org`|
37+
|`LOWCODER_CORS_DOMAINS`| CORS allowed domains|`*`|
38+
|`LOWCODER_MAX_REQUEST_SIZE`| Lowcoder max request size|`20m`|
39+
|`LOWCODER_MAX_QUERY_TIMEOUT`| Lowcoder max query timeout (in seconds)|`120`|
40+
|`LOWCODER_API_SERVICE_URL`| Lowcoder API service URL|`http://localhost:8080`|
41+
|`LOWCODER_NODE_SERVICE_URL`| Lowcoder Node service (js executor) URL|`http://localhost:6060`|
42+
|`LOWCODER_MAX_ORGS_PER_USER`| Default maximum organizations per user|`100`|
43+
|`LOWCODER_MAX_MEMBERS_PER_ORG`| Default maximum members per organization|`1000`|
44+
|`LOWCODER_MAX_GROUPS_PER_ORG`| Default maximum groups per organization|`100`|
45+
|`LOWCODER_MAX_APPS_PER_ORG`| Default maximum applications per organization|`1000`|
46+
|`LOWCODER_MAX_DEVELOPERS`| Default maximum developers|`100`|
47+
|`LOWCODER_WORKSPACE_MODE`| SAAS to activate, ENTERPRISE to switch off - Workspaces|`SAAS`|
48+
|`LOWCODER_EMAIL_SIGNUP_ENABLED`| Control if users create their own Workspace automatic when Sign Up|`true`|
49+
|`LOWCODER_EMAIL_AUTH_ENABLED`| Control to show the eMail Login after Admin user is set|`true`|
50+
|`LOWCODER_MARKETPLACE_PRIVATE_MODE`| Control if not to show Apps on the local Marketplace to anonymous users|`true`|
5151

5252

5353
##Building api-service image

‎server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/application/ApplicationApiService.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ private Mono<Void> checkApplicationStatus(Application application, ApplicationSt
249249
}
250250

251251
privateMono<Void>checkApplicationViewRequest(Applicationapplication,ApplicationEndpoints.ApplicationRequestTypeexpected) {
252-
if (expected ==ApplicationEndpoints.ApplicationRequestType.PUBLIC_TO_ALL &&application.isPublicToAll()) {
252+
// TODO: The check is correct ( logically ) but we need to provide some time for the users to adapt. Will bring it back in the next release
253+
if (expected ==ApplicationEndpoints.ApplicationRequestType.PUBLIC_TO_ALL/* && application.isPublicToAll() */) {
253254
returnMono.empty();
254255
}
255256
if (expected ==ApplicationEndpoints.ApplicationRequestType.PUBLIC_TO_MARKETPLACE &&application.isPublicToMarketplace()) {

‎server/api-service/lowcoder-server/src/main/resources/selfhost/ce/application.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ common:
5454
workspace:
5555
mode:${LOWCODER_WORKSPACE_MODE:SAAS}
5656
marketplace:
57-
private-mode:${MARKETPLACE_PRIVATE_MODE:true}
57+
private-mode:${LOWCODER_MARKETPLACE_PRIVATE_MODE:true}
5858

5959
material:
6060
mongodb-grid-fs:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp