Skip to content

Sample plugin for freeIPA to add 'user status' field to both IPA CLI and Web UI

License

Notifications You must be signed in to change notification settings

abbra/freeipa-userstatus-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A user status plugin example for freeIPA

User status plugin demonstrates how to extend both freeIPA Python framework and freeIPA Web UI. It provides enough components and RPM spec file to maintain the changes separate from freeIPA core.

The 'user status' is an imaginary field stored in the user object in freeIPA that allows other users to see whether this user is active in executing some tasks or is not available for a task execution.

See plugin/Feature.mediawiki for detailed explanation.

Steps to build sample

$ sudo dnf -y install rpm-build rpmdevtools
$ rpmdev-setuptree
$ git clone https://github.com/abbra/freeipa-userstatus-plugin.git
$ cd freeipa-userstatus-plugin
$ git archive --prefix freeipa-userstatus-plugin-0.0.2/ -o freeipa-userstatus-plugin-0.0.2.tar.gz HEAD
$ cp freeipa-userstatus-plugin-0.0.2.tar.gz ~/rpmbuild/SOURCES/
$ rpmbuild -ba freeipa-userstatus-plugin.spec

The packages will be in ~/rpmbuild/RPMS/noarch/

About

Sample plugin for freeIPA to add 'user status' field to both IPA CLI and Web UI

Resources

License

Stars

Watchers

Forks

Packages

No packages published