File nextcloud-apps-impersonate.spec of Package nextcloud-apps-impersonate

#
# spec file for package nextcloud-apps-impersonate
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

%define app_name impersonate

Name:           nextcloud-apps-%{app_name}
Version:        1.11.0
Release:        0
#
Summary:        Nextcloud Apps - Impersonate extension
License:        AGPL-3.0-only
Group:          Productivity/Networking/Web/Utilities
URL:            https://apps.nextcloud.com/apps/impersonate
Source0:        https://github.com/nextcloud-releases/impersonate/releases/download/v%{version}/impersonate-v%{version}.tar.gz
Source1:        series
Patch1:         allow-nc25.patch
#
BuildRequires:  nextcloud > 15
BuildRequires:  nextcloud-packaging >= 16
%requires_ge nextcloud
BuildArch:      noarch

%description
By installing the impersonate app of your Nextcloud you enable administrators
to impersonate other users on the Nextcloud server. This is especially useful
for debugging issues reported by users.

To impersonate a user an administrator has to simply follow the following four
steps:

1. Login as administrator to Nextcloud 2. Open the user administration
interface 3. Select the impersonate button on the affected user 4. Confirm the
impersonation 5. The administrator is then logged-in as the user, to switch
back to the regular user account they simply have to press the logout button.

Note:

- This app is not compatible with instances that have encryption enabled.
- While impersonate actions are logged note that actions performed impersonated
  will be logged as the impersonated user.
- Impersonating an user is only possible after their first login.


%prep
%autosetup -p1 -n %{app_name}

%build

%{nextcloud_apps_package %{app_name}}

%changelog
openSUSE Build Service is sponsored by