mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 20:42:20 +08:00
Now that IPA is the reference, allow users to change their own attributes
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
@@ -8,15 +8,5 @@ trap cleanup EXIT
|
||||
|
||||
echo $ADMIN_PASSWORD | kinit admin
|
||||
|
||||
# Disallow all users to change their own settings
|
||||
ipa selfservice-find | grep "Self-service name:" | sed -e "s/ Self-service name: //" | \
|
||||
while read line
|
||||
do
|
||||
echo "Removing $line"
|
||||
ipa selfservice-del "$line"
|
||||
done
|
||||
|
||||
# Disable default permissions so we don't break our privacy policy
|
||||
ipa permission-mod "System: Read User Addressbook Attributes" --bindtype=permission
|
||||
|
||||
# TODO: Add custom permissions to grant specific access to user attributes
|
||||
|
||||
Reference in New Issue
Block a user