summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-03-25 15:10:55 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-03-25 15:10:55 -0400
commit291bd7e78c6cd504ac36d2f9d29695cbda44a85a (patch)
treea2b1867bd306d4c2bed43dc1b9e3583beeeb0a9d /data
parent4b6d3cceb2119b5800fef0ab76b0cfdb50156151 (diff)
downloadaccountsservice-291bd7e78c6cd504ac36d2f9d29695cbda44a85a.tar.gz
Always require admin privs for changing usernames
Even when changing your own username.
Diffstat (limited to 'data')
-rw-r--r--data/org.freedesktop.Accounts.User.xml6
1 files changed, 1 insertions, 5 deletions
diff --git a/data/org.freedesktop.Accounts.User.xml b/data/org.freedesktop.Accounts.User.xml
index aedc79e..c349522 100644
--- a/data/org.freedesktop.Accounts.User.xml
+++ b/data/org.freedesktop.Accounts.User.xml
@@ -24,12 +24,8 @@
The caller needs one of the following PolicyKit authorizations:
<doc:list>
<doc:item>
- <doc:term>org.freedesktop.accounts.change-own-user-data</doc:term>
- <doc:definition>To change his own username</doc:definition>
- </doc:item>
- <doc:item>
<doc:term>org.freedesktop.accounts.user-administration</doc:term>
- <doc:definition>To change the username of another user</doc:definition>
+ <doc:definition>To change the username of any user</doc:definition>
</doc:item>
</doc:list>
</doc:permission>