mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 07:25:53 +03:00
[PR #506] [MERGED] New additions #590
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#590
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/retspen/webvirtcloud/pull/506
Author: @Info-IIG
Created: 6/16/2022
Status: ✅ Merged
Merged: 6/20/2022
Merged by: @catborise
Base:
master← Head:develop📝 Commits (6)
c817d3eAdd permission can view instancesde2dce7Added Technicians group32eb91fAutomatic input first name last name and email with ldap02b02d3Added DRBD statuse26a114Added ldap password encryption052610dAdded permission can snapshot instances📊 Changes
12 files changed (+153 additions, -24 deletions)
View changed files
📝
README.md(+12 -2)➕
admin/migrations/0003_create_group_technicians.py(+15 -0)📝
console/views.py(+1 -1)📝
instances/models.py(+3 -0)📝
instances/templates/allinstances.html(+1 -1)📝
instances/templates/allinstances_index_grouped.html(+5 -0)📝
instances/templates/allinstances_index_nongrouped.html(+4 -0)📝
instances/templates/instance.html(+1 -1)📝
instances/views.py(+48 -5)➕
webvirtcloud/.dec_ldap_pwd.sh(+18 -0)📝
webvirtcloud/ldapbackend.py(+38 -11)📝
webvirtcloud/settings.py.template(+7 -3)📄 Description
Hi,
There are some additions :
1) Added permission to see all instances
The goal is to be able to give the right to a user in a group to see all the instances.
2) Added Technicians group
The goal is to be able to automatically add users from the LDAP directory to the Technicians group based on the cn and to assign specific permissions afterwards.
3) Automatic input first name last name and email with ldap
The goal is to add automatically the last name, the first name and the email when creating a user from the LDAP directory.
4) Added DRBD status
My infrastructure is composed of a cluster of 2 nodes with a DRBD to replicate the storage. So I added the retrieval of the role and state of the disks in webvirtcloud by ssh.
5) Added ldap password encryption
The goal was to encrypt the password of the user who has the LDAP search rights. I added a script to decrypt the password which is run at the LDAP_MASTER_PW parameter. The procedure to encrypt the password is written in the README.
6) Added permission can snapshot instances
The objective was to be able to manage per user the right to make snapshots for all instances.
Thanks.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.