David Zhang
David Zhang
WWindmill
Created by David Zhang on 4/5/2024 in #help
Recommended pattern for managing resource permissions
Which tags/versions will this fix go out to?
9 replies
WWindmill
Created by David Zhang on 4/5/2024 in #help
Recommended pattern for managing resource permissions
This seems like a potentially high impact vulnerability, was this shipped to enterprise customers or cloud customers as well? Also could you keep me in the loop so I can upgrade once the fix goes out? Thanks!
9 replies
WWindmill
Created by David Zhang on 4/5/2024 in #help
Recommended pattern for managing resource permissions
@windmill not sure if this is a bug or intended behavior? Here's a demo video showing the full behavior https://www.loom.com/share/b57d1f70ca294c8eb5474ef0f7c70c50?sid=682fc3ed-621b-4e02-a857-f31816c2a9fb
9 replies
WWindmill
Created by David Zhang on 4/5/2024 in #help
Recommended pattern for managing resource permissions
No description
9 replies
WWindmill
Created by David Zhang on 4/4/2024 in #help
Default login not working on first login
No description
7 replies
WWindmill
Created by David Zhang on 4/4/2024 in #help
Default login not working on first login
No description
7 replies
WWindmill
Created by David Zhang on 4/4/2024 in #help
Default login not working on first login
Not sure which Cloudfront setting conflicts with login
7 replies
WWindmill
Created by David Zhang on 4/4/2024 in #help
Default login not working on first login
Interesting, login fails when hitting Cloudfront with HTTPS, but succeeds when hitting EC2 directly without HTTPS
7 replies
WWindmill
Created by David Zhang on 4/4/2024 in #help
Default login not working on first login
Checked the password table
windmill=*> select * from password;
-[ RECORD 1 ]---+-------------------------------------------------------------------------------------------------
email | admin@windmill.dev
password_hash | $argon2id$v=19$m=4096,t=3,p=1$oLJo/lPn/gezXCuFOEyaNw$i0T2tCkw3xUFsrBIKZwr8jVNHlIfoxQe+HfDnLtd12I
login_type | password
super_admin | t
verified | t
name | Admin
company | Windmill
first_time_user | t
username | admin
windmill=*> select * from password;
-[ RECORD 1 ]---+-------------------------------------------------------------------------------------------------
email | admin@windmill.dev
password_hash | $argon2id$v=19$m=4096,t=3,p=1$oLJo/lPn/gezXCuFOEyaNw$i0T2tCkw3xUFsrBIKZwr8jVNHlIfoxQe+HfDnLtd12I
login_type | password
super_admin | t
verified | t
name | Admin
company | Windmill
first_time_user | t
username | admin
7 replies
WWindmill
Created by David Zhang on 4/4/2024 in #help
Default login not working on first login
I can see that the migrations were run successfully in the logs
windmill_worker-1 | 2024-04-04T07:29:58.461990Z INFO windmill_api::db: Finished applying migration 20240403083110
windmill_worker-1 | 2024-04-04T07:29:58.461990Z INFO windmill_api::db: Finished applying migration 20240403083110
7 replies
WWindmill
Created by David Zhang on 3/20/2024 in #help
AMI in Terraform template doesn't exist
That worked, also opened a PR here: https://github.com/windmill-labs/windmill/pull/3448
5 replies
WWindmill
Created by David Zhang on 3/20/2024 in #help
AMI in Terraform template doesn't exist
@windmill can anyone opine here? I’m happy to make a PR if someone can point me to the updated AMI
5 replies
WWindmill
Created by David Zhang on 3/7/2024 in #help
Postgres err: insufficient data left in message
Interesting, I used the same method of inputing the values, the only thing I can think of is that I modified the input GUI to use enums for some of the strings, maybe some behavior related to when the enums are created initially vs when they're loaded later? But I'm not sure, just a guess, will update here if I ever run into this again
10 replies
WWindmill
Created by David Zhang on 3/7/2024 in #help
Postgres err: insufficient data left in message
No description
10 replies
WWindmill
Created by David Zhang on 3/7/2024 in #help
Postgres err: insufficient data left in message
I tried running the query using a DB client against the exact same DB and it worked, so I'm not sure if it's related to the DB, is there any other info I can help provide?
10 replies
WWindmill
Created by David Zhang on 3/7/2024 in #help
Postgres err: insufficient data left in message
15.3 using AWS Aurora
10 replies
WWindmill
Created by David Zhang on 3/7/2024 in #help
Postgres err: insufficient data left in message
Here's a CREATE statement for anyone that wants to try to reproduce
CREATE TABLE
stably.limit_user (
user_guid uuid NOT NULL,
network character varying(50) NOT NULL,
asset character varying(50) NULL,
direction character varying(10) NOT NULL,
count_limit integer NULL,
amount_limit numeric(36, 18) NULL,
amount_minimum numeric(36, 18) NULL
);

ALTER TABLE
stably.limit_user
ADD
CONSTRAINT limit_user_pkey PRIMARY KEY (direction)
CREATE TABLE
stably.limit_user (
user_guid uuid NOT NULL,
network character varying(50) NOT NULL,
asset character varying(50) NULL,
direction character varying(10) NOT NULL,
count_limit integer NULL,
amount_limit numeric(36, 18) NULL,
amount_minimum numeric(36, 18) NULL
);

ALTER TABLE
stably.limit_user
ADD
CONSTRAINT limit_user_pkey PRIMARY KEY (direction)
10 replies
WWindmill
Created by David Zhang on 3/6/2024 in #help
Changing input data type for PostgreSQL scripts
Great to see!
6 replies
WWindmill
Created by David Zhang on 3/6/2024 in #help
Changing input data type for PostgreSQL scripts
No description
6 replies