Skip to content

Commit

Permalink
New package: switchboard-plug-user-accounts-2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
linarcx committed Apr 9, 2020
1 parent 9abb617 commit bf507ee
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 0 deletions.
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="addon">
<id>io.elementary.switchboard.useraccounts</id>
<extends>io.elementary.switchboard</extends>
<name>User Accounts</name>
<summary>Manage account permissions and configure user names, passwords, and photos</summary>
<releases>
<release version="2.3.1" date="2020-04-08" urgency="medium">
<description>
<ul>
<li>Show more accurate reasons for locked settings</li>
<li>Improve reliability of account creation</li>
<li>Get permission on demand for enabling or disabling accounts</li>
<li>Updated translations</li>
</ul>
</description>
</release>
<release version="2.3.0" date="2019-11-15" urgency="medium">
<description>
<ul>
<li>Show in sidebar if an account is disabled</li>
<li>Ask for permission when adding and removing accounts</li>
<li>Animate Infobars</li>
<li>Updated translations</li>
</ul>
</description>
</release>
</releases>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/elementary/switchboard-plug-useraccounts/master/data/screenshot.png</image>
</screenshot>
</screenshots>
<url type="homepage">https://elementary.io</url>
<url type="bugtracker">https://github.com/elementary/switchboard-plug-useraccounts/issues</url>
<metadata_license>CC0-1.0</metadata_license>
<project_license>LGPL-3.0+</project_license>
</component>
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>
<vendor>elementary</vendor>
<vendor_url>https://elementary.io/</vendor_url>

<action id="io.elementary.switchboard.useraccounts.administration">
<description>Manage user accounts</description>
<message>Authentication is required to change user data</message>
<icon_name>system-users</icon_name>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/lib/switchboard/system/pantheon-useraccounts/guest-session-toggle</annotate>
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.accounts.user-administration</annotate>
</action>
</policyconfig>
20 changes: 20 additions & 0 deletions srcpkgs/switchboard-plug-user-accounts/template
@@ -0,0 +1,20 @@
# Template file for 'switchboard-plug-user-accounts'
pkgname=switchboard-plug-user-accounts
version=2.3.1
revision=1
wrksrc="switchboard-plug-useraccounts-${version}"
build_style=meson
hostmakedepends="pkg-config glib-devel vala"
makedepends="libgee08-devel gtk+3-devel switchboard-devel polkit-devel
accountsservice-devel gnome-desktop-devel granite-devel libpwquality-devel"
short_desc="Switchboard User Accounts Plug"
maintainer="linarcx <linarcx@riseup.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/elementary/switchboard-plug-useraccounts"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=f039c41193d3472056914faa841e54f5e457745f5e56efe6496bb820eb5ef728

post_install() {
vinstall ${FILESDIR}/io.elementary.useraccounts.appdata.xml 0644 usr/share/metainfo
vinstall ${FILESDIR}/io.elementary.useraccounts.policy 0644 usr/share/polkit-1/actions
}

0 comments on commit bf507ee

Please sign in to comment.