Skip to content

Commit

Permalink
Merge pull request #1696 from timopollmeier/license-permissions
Browse files Browse the repository at this point in the history
Handle get_license and modify_license permission
  • Loading branch information
timopollmeier authored Oct 13, 2021
2 parents 401d39f + 870dcfe commit 4088f58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Added
- Add a new modification_time column to reports [#1513](https://github.com/greenbone/gvmd/pull/1513), [#1519](https://github.com/greenbone/gvmd/pull/1519), [#1590](https://github.com/greenbone/gvmd/pull/1590)
- Add basic Sentry integration and logging [#1550](https://github.com/greenbone/gvmd/pull/1550)
- Add GMP get_license and modify_license [#1642](https://github.com/greenbone/gvmd/pull/1642)
- Add GMP get_license and modify_license [#1642](https://github.com/greenbone/gvmd/pull/1642), [#1696](https://github.com/greenbone/gvmd/pull/1696)

### Changed
- Use pg-gvm extension for C PostgreSQL functions [#1400](https://github.com/greenbone/gvmd/pull/1400), [#1453](https://github.com/greenbone/gvmd/pull/1453)
Expand Down
2 changes: 2 additions & 0 deletions src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ command_t gmp_commands[]
{"GET_FILTERS", "Get all filters."},
{"GET_GROUPS", "Get all groups."},
{"GET_INFO", "Get raw information for a given item."},
{"GET_LICENSE", "Get license information." },
{"GET_NOTES", "Get all notes."},
{"GET_NVTS", "Get one or all available NVTs."},
{"GET_NVT_FAMILIES", "Get a list of all NVT families."},
Expand Down Expand Up @@ -521,6 +522,7 @@ command_t gmp_commands[]
{"MODIFY_CREDENTIAL", "Modify an existing credential."},
{"MODIFY_FILTER", "Modify an existing filter."},
{"MODIFY_GROUP", "Modify an existing group."},
{"MODIFY_LICENSE", "Modify the existing license."},
{"MODIFY_NOTE", "Modify an existing note."},
{"MODIFY_OVERRIDE", "Modify an existing override."},
{"MODIFY_PERMISSION", "Modify an existing permission."},
Expand Down

0 comments on commit 4088f58

Please sign in to comment.