Skip to content

Commit

Permalink
Fixes ansible-collections#256: make path user group modifiable and …
Browse files Browse the repository at this point in the history
…add `comment` attribute`

Add changelog fragment
  • Loading branch information
derdeagle committed Feb 1, 2024
1 parent d1401bd commit 47f1672
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/257-make-user_group-modifiable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- make path ``user group`` modifiable and add ``comment`` attribute (https://github.com/ansible-collections/community.routeros/issues/256, https://github.com/ansible-collections/community.routeros/pull/257).
2 changes: 1 addition & 1 deletion plugins/module_utils/_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -4117,10 +4117,10 @@ def join_path(path):
),
('user', 'group'): APIData(
unversioned=VersionedAPIData(
fixed_entries=True,
primary_keys=('name', ),
fully_understood=True,
fields={
'comment': KeyInfo(can_disable=True, remove_value=''),
'name': KeyInfo(),
'policy': KeyInfo(),
'skin': KeyInfo(default='default'),
Expand Down

0 comments on commit 47f1672

Please sign in to comment.