diff --git a/app/hr/forms.py b/app/hr/forms.py index e3bec66..950e704 100644 --- a/app/hr/forms.py +++ b/app/hr/forms.py @@ -67,7 +67,7 @@ class ApplicationForm(forms.Form): access = True break if not access: - raise forms.ValidationError("%s requires a API key with greater access than the one you have added, please add a key with the correct access." % (corp, corp.application_config.api_accessmask)) + raise forms.ValidationError("%s requires a API key with greater access than the one you have added, please add a key with the correct access." % corp) return self.cleaned_data diff --git a/app/sso/templates/sso/lookup/user.html b/app/sso/templates/sso/lookup/user.html index ab58d0f..0f4678c 100644 --- a/app/sso/templates/sso/lookup/user.html +++ b/app/sso/templates/sso/lookup/user.html @@ -22,7 +22,7 @@
-Update Access +Update Access {% if "hr"|installed %} {% if perms.hr.add_blacklist %} Blacklist User