New Permission management module

There is a new permission management module placed in the plugins folder:

    plugins/modules/ipapermission.py

The permission module allows to ensure presence of absence of permissions
and manage permission members.

Here is the documentation for the module:

    README-permission.md

New example plabooks have been added:

    playbooks/permission/permission-absent.yml
    playbooks/permission/permission-allow-read-employeenum.yml
    playbooks/permission/permission-member-absent.yml
    playbooks/permission/permission-member-present.yml
    playbooks/permission/permission-present.yml
    playbooks/permission/permission-renamed.yml

New tests for the module:

    tests/permission/test_permission.yml
This commit is contained in:
Seth Kress
2020-09-03 20:52:39 +00:00
committed by Rafael Guterres Jeffman
parent 698bd81475
commit 8a8487ed6e
9 changed files with 854 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
---
- name: Permission Allow Read Employee Number Example
hosts: ipaserver
become: true
tasks:
- name: Ensure permission TestPerm2 is present with Read rights to employeenumber
ipapermission:
name: TestPerm2
object_type: user
perm_rights:
- read
- search
- compare
attrs: employeenumber