[Freeipa-users] Extending FreeIPA 3

2014-09-18 Thread Andreas Ladanyi

Hi,

i'am using centos 6.5 and ipa-server 3.0.0, 37.el6 package.


I want to expose a ldap attribute in the Web UI and red the following 
slides:

https://www.freeipa.org/images/5/5b/FreeIPA33-extending-freeipa.pdf

My problem ist that i cant find a plugin location path 
/usr/share/ipa/ui/js/plugins , the /js/plugins part does not exist.


The slides are for version 3.3. Iam using 3.0.0. Was the plugin subdir 
changed / renamed ?


regards,
Andreas

--
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go To http://freeipa.org for more info on the project


Re: [Freeipa-users] Extending FreeIPA 3

2014-09-18 Thread Petr Vobornik

On 18.9.2014 14:15, Andreas Ladanyi wrote:

Hi,

i'am using centos 6.5 and ipa-server 3.0.0, 37.el6 package.


I want to expose a ldap attribute in the Web UI and red the following
slides:
https://www.freeipa.org/images/5/5b/FreeIPA33-extending-freeipa.pdf

My problem ist that i cant find a plugin location path
/usr/share/ipa/ui/js/plugins , the /js/plugins part does not exist.

The slides are for version 3.3. Iam using 3.0.0. Was the plugin subdir
changed / renamed ?

regards,
Andreas



Hello Andreas,

the described plugin support was added in FreeIPA 3.2 [1]

Web UI in IPA 3.0 has very limited extensibility support. User can add 
his own code to /share/ipa/ui/ext/extension.js but usually it's more 
easy to edit webui code in /share/ipa/ui/ directly. This approach brings 
other issues so use at your own risk.


[1] https://fedorahosted.org/freeipa/ticket/3235

HTH
--
Petr Vobornik

--
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go To http://freeipa.org for more info on the project