Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible for an administrator so send activation links to users upon their creation #4425

Open
schris-dk opened this issue Mar 4, 2025 · 6 comments

Comments

@schris-dk
Copy link

What version of GlobaLeaks are you using?

5.0.56

What browser(s) are you seeing the problem on?

N/A

What operating system(s) are you seeing the problem on?

N/A

Describe the issue

After upgrading our test environment to 5.0.56, admins cannot send account activation mails. Only the Escrow key admin can do so:

Regular admin:

Image

Escrow key admin:

Image

Proposed solution

No response

@evilaliv3
Copy link
Member

Thank you @schris-dk , this is actually intended and is resolving a bug.

A user is active since it is created because users keys are generated and after creation only users with access to escrow keys could send the activation link or reset the password.

We are preparing a small change enabling to send the activation link during creation of the user.

@evilaliv3 evilaliv3 changed the title Non-Escrow key Admins not able to send account activation emails Make it possible for an administrator so send activation links to users upon their creation Mar 4, 2025
@schris-dk
Copy link
Author

schris-dk commented Mar 4, 2025 via email

@evilaliv3
Copy link
Member

@schris-dk: the limit is given by encryption and how it works

encryption requires keys and keys are as well should be preserved encrypted, this is why the activation link could be sent only by an admin on creation or by a users with access to escrow keys.

I think you might be missing very knowledge about the system; let me try to clarify and please let us know if your organization need some technical training since we could provide it

  1. Is it mandatory or vital to have escrow keys? no; it depends on the project. If you are a provider and you are responsible for data losses, your clients may require you to have escrow keys to support them in case they loose access to their data.
  2. Is it possible to have only one user with access to escrow keys? no; it is actually very recommended that you have more than one single user enabled with escrow keys; the system when created assign the escrow keys to the administrator that created the system but they may at any time assign this same privilege to more users.

@schris-dk
Copy link
Author

schris-dk commented Mar 5, 2025 via email

@evilaliv3
Copy link
Member

Thank you @schris-dk

Its correct. This ticket is remoduled specifically to address point #1 making possible on systems without key escrow to send the activation link as soon that the user is created to enable the usages where key escrows are disabled.

evilaliv3 added a commit that referenced this issue Mar 7, 2025
@evilaliv3
Copy link
Member

evilaliv3 commented Mar 10, 2025

@schris-dk : in realease 5.0.58 you now find the option to send the activation link to users during the creation of users.

Image

This makes it possible for administrators that do not have access to escrow keys to send the activation link. Of course they could only if they do this during the moment of creation of the user since this is the time that users keys are generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants