The last allowed/mapping rule can be removed in SPs
authorRob Crittenden <rcritten@redhat.com>
Wed, 8 Apr 2015 20:13:55 +0000 (16:13 -0400)
committerSimo Sorce <simo@redhat.com>
Fri, 10 Apr 2015 14:41:09 +0000 (10:41 -0400)
commit348fcbcbaf5c686cdb077c9bed53ded95ad04b49
treefa0e8b0890bb7a73ae62905e2b8fe614157a4e77
parent130aaa056aac3d214afef4a43ddf6f948f5f0a8b
The last allowed/mapping rule can be removed in SPs

If you created rule(s) in an SP for either allowed attributes or
attribute mapping there was no way to remove the last rule meaning
it could never go back to use the global defaults.

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

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
ipsilon/providers/saml2/admin.py
ipsilon/util/config.py
ipsilon/util/data.py