You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task LAV-1758: GRANT/REVOKE privileges and database roles TO SHARE + SHOW GRANTS TO/OF SHARE + IMPORTED PRIVILEGES (apache#2239)
* task LAV-1758: WIP — commit stranded agent work
* Task LAV-1758: fix share-grant parity — TAG FQN, FUNCTION arg normalization, error positions, CREATE DATABASE FROM SHARE
Co-Authored-By: Claude <noreply@anthropic.com>
* Task LAV-1758: fix share-grant existence check, IMPORTED PRIVILEGES visibility, xfail hygiene
- Add object existence checks for share grants (DATABASE/SCHEMA/TABLE/VIEW/TAG)
in __snowflake$grant UDF, scoped to SHARE grantees
- Add DATABASE arm to __snowflake$assert_grants_target_exists helper
- Add position computation for 'Database … does not exist' GRANT/REVOKE errors
- Project IMPORTED PRIVILEGES as USAGE in show_grants_to_role for real-SF parity
- Remove redundant test_grant_imported_privileges_to_role from test_shares.py
- Un-xfail test_revoke_imported_privileges and test_create_view_across_multiple_db_tables
- Extend test_revoke_imported_privileges with SHOW GRANTS TO ROLE (AC 5)
- Add probes for granting on nonexistent DB and revoking never-granted edge (AC 6)
Co-Authored-By: Claude <noreply@anthropic.com>
* Task LAV-1758: fix pipeline check — revert test_rbac edits to xfail-only, add new IMPORTED PRIVILEGES test
Revert the body/snapshot modifications to test_revoke_imported_privileges
(only xfail removals remain — an allowed edit). Add a new
test_grant_imported_privileges_to_role in test_shares.py with a real-SF
snapshot covering AC-5 (IMPORTED PRIVILEGES visible in SHOW GRANTS TO ROLE).
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments