Remove JDBC connector allow-drop-table flag#588
Conversation
presto-base-jdbc/src/main/java/io/prestosql/plugin/jdbc/JdbcSecurityConfig.java
Outdated
Show resolved
Hide resolved
4b60499 to
f660baf
Compare
Before the change, a user could not erase data easily, since we don't have DELETE support, and DROP TABLE was disabled. Thus the data was not secured against a malicious user, acting intentionally, but was protected against a careless or irrepressible user. I agree |
|
@findepi IMO the connector level default should be |
|
@findepi I agree with Will's assessment. Ranger is what the field is using - having multiple locations will confuse the issue and make things more complicated for us and the customer. |
152a9db to
3857bd3
Compare
Remove the legacy
allow-drop-tableflag. This defaulted tofalse, so this is a behavior change, but it was inconsistent since we didn't restrict any other operations. Users can enable security using https://trino.io/docs/current/security/built-in-system-access-control.html.