🐛 Fix decoding permission nodes from db

This commit is contained in:
2024-05-17 20:34:34 +08:00
parent 1e2d5e9f9d
commit ebef35a619
4 changed files with 44 additions and 38 deletions

View File

@@ -838,50 +838,50 @@ false Zulu
<Replication>1</Replication>
<SuperRole>1</SuperRole>
</role>
<role id="8" parent="1" name="pg_checkpoint">
<ObjectId>4544</ObjectId>
</role>
<role id="9" parent="1" name="pg_create_subscription">
<ObjectId>6304</ObjectId>
</role>
<role id="10" parent="1" name="pg_database_owner">
<role id="8" parent="1" name="pg_database_owner">
<ObjectId>6171</ObjectId>
</role>
<role id="11" parent="1" name="pg_execute_server_program">
<ObjectId>4571</ObjectId>
<role id="9" parent="1" name="pg_read_all_data">
<ObjectId>6181</ObjectId>
</role>
<role id="12" parent="1" name="pg_monitor">
<role id="10" parent="1" name="pg_write_all_data">
<ObjectId>6182</ObjectId>
</role>
<role id="11" parent="1" name="pg_monitor">
<ObjectId>3373</ObjectId>
<RoleGrants>3374
3375
3377</RoleGrants>
</role>
<role id="13" parent="1" name="pg_read_all_data">
<ObjectId>6181</ObjectId>
</role>
<role id="14" parent="1" name="pg_read_all_settings">
<role id="12" parent="1" name="pg_read_all_settings">
<ObjectId>3374</ObjectId>
</role>
<role id="15" parent="1" name="pg_read_all_stats">
<role id="13" parent="1" name="pg_read_all_stats">
<ObjectId>3375</ObjectId>
</role>
<role id="16" parent="1" name="pg_read_server_files">
<ObjectId>4569</ObjectId>
</role>
<role id="17" parent="1" name="pg_signal_backend">
<ObjectId>4200</ObjectId>
</role>
<role id="18" parent="1" name="pg_stat_scan_tables">
<role id="14" parent="1" name="pg_stat_scan_tables">
<ObjectId>3377</ObjectId>
</role>
<role id="19" parent="1" name="pg_use_reserved_connections">
<role id="15" parent="1" name="pg_read_server_files">
<ObjectId>4569</ObjectId>
</role>
<role id="16" parent="1" name="pg_write_server_files">
<ObjectId>4570</ObjectId>
</role>
<role id="17" parent="1" name="pg_execute_server_program">
<ObjectId>4571</ObjectId>
</role>
<role id="18" parent="1" name="pg_signal_backend">
<ObjectId>4200</ObjectId>
</role>
<role id="19" parent="1" name="pg_checkpoint">
<ObjectId>4544</ObjectId>
</role>
<role id="20" parent="1" name="pg_use_reserved_connections">
<ObjectId>4550</ObjectId>
</role>
<role id="20" parent="1" name="pg_write_all_data">
<ObjectId>6182</ObjectId>
</role>
<role id="21" parent="1" name="pg_write_server_files">
<ObjectId>4570</ObjectId>
<role id="21" parent="1" name="pg_create_subscription">
<ObjectId>6304</ObjectId>
</role>
<role id="22" parent="1" name="postgres">
<CanLogin>1</CanLogin>