Mark the service as readonly in the UI in authpam plugin
authorRob Crittenden <rcritten@redhat.com>
Fri, 17 Jul 2015 18:07:16 +0000 (14:07 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Tue, 18 Aug 2015 07:52:25 +0000 (09:52 +0200)
Update the Option class to take a readonly keyword argument,
defaulting to False. Extend its subclasses to pass this value
along.

The page template will add the disabled keyword to input and
textarea if a config option is marked as readonly.

https://fedorahosted.org/ipsilon/ticket/6

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>

No differences found