greenbone / gvmd

Greenbone Vulnerability Manager - The database backend for the Greenbone Community Edition
GNU Affero General Public License v3.0
290 stars 157 forks source link

Remove resource_id field from get_permissions_data_t #2280

Open mattmundell opened 3 months ago

mattmundell commented 3 months ago

What

Remove stray field from get_permissions_data_t. This includes removing the parsing of resource_id for GET_PERMISSIONS. The command works the same, as the attribute has never been used.

Why

Attribute is not used.

References

Attribute was added when GET_PERMISSIONS was added, in a486de15899a8aee38b0ce0b5c3791cf4d09adb6. The idea was to allow filtering of permissions by resource ID. 11 years later I think it's safe to remove. We can add it back if the filtering is ever required.

github-actions[bot] commented 3 months ago

Conventional Commits Report

:cry: No conventional commits found.

:point_right: Learn more about the conventional commits usage at Greenbone.