]> git.proxmox.com Git - pve-access-control.git/log
pve-access-control.git
10 years agoimplement helper to generate SPICE remote-viewer configuration
Dietmar Maurer [Tue, 10 Dec 2013 09:38:42 +0000 (10:38 +0100)]
implement helper to generate SPICE remote-viewer configuration

Moved read_x509_subject_spice() from PVE::QemuServer.
Depend on libnet-ssleay-perl.

10 years agoallow dots in access paths
Dietmar Maurer [Tue, 26 Nov 2013 06:50:20 +0000 (07:50 +0100)]
allow dots in access paths

Because storage IDs may contain dots.

10 years agoreturn correct 401 status code for unauthorized calls
Dietmar Maurer [Mon, 18 Nov 2013 10:23:50 +0000 (11:23 +0100)]
return correct 401 status code for unauthorized calls

New HTTP::Server will delay the call by 3 seconds.

10 years agobump version to 3.0-9
Dietmar Maurer [Mon, 18 Nov 2013 08:07:01 +0000 (09:07 +0100)]
bump version to 3.0-9

10 years agoprevent user enumeration attacks
Dietmar Maurer [Mon, 18 Nov 2013 08:05:04 +0000 (09:05 +0100)]
prevent user enumeration attacks

10 years agobump version to 3.0-8
Dietmar Maurer [Mon, 28 Oct 2013 07:12:29 +0000 (08:12 +0100)]
bump version to 3.0-8

10 years agospice: use lowercase hostname in ticktet signature
Dietmar Maurer [Mon, 28 Oct 2013 07:10:48 +0000 (08:10 +0100)]
spice: use lowercase hostname in ticktet signature

10 years agouse warnings instead of global -w flag
Dietmar Maurer [Tue, 1 Oct 2013 11:03:43 +0000 (13:03 +0200)]
use warnings instead of global -w flag

10 years agobump version to 3.0-7
Dietmar Maurer [Tue, 1 Oct 2013 10:36:02 +0000 (12:36 +0200)]
bump version to 3.0-7

10 years agoremove path related code from check_volume_access()
Dietmar Maurer [Tue, 1 Oct 2013 10:09:51 +0000 (12:09 +0200)]
remove path related code from check_volume_access()

10 years agocheck_volume_access : use parse_volname instead path
Alexandre Derumier [Wed, 25 Sep 2013 08:27:43 +0000 (10:27 +0200)]
check_volume_access : use parse_volname instead path

to avoid extra calls for some storageplugins (zfs,nexenta).

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
10 years agoadd reference to git version
Dietmar Maurer [Mon, 2 Sep 2013 08:32:39 +0000 (10:32 +0200)]
add reference to git version

10 years agobump version to 3.0-6
Dietmar Maurer [Fri, 19 Jul 2013 10:39:26 +0000 (12:39 +0200)]
bump version to 3.0-6

10 years agoproduce shorter spiceproxy tickets
Dietmar Maurer [Fri, 19 Jul 2013 10:35:23 +0000 (12:35 +0200)]
produce shorter spiceproxy tickets

By using a simple Digest with private secret /etc/pve/pve-www.key. This is
less secure than pub key auth, but good enough for the proxy.

10 years agobump version to 3.0-5
Dietmar Maurer [Wed, 26 Jun 2013 11:08:58 +0000 (13:08 +0200)]
bump version to 3.0-5

10 years agonew ticket code for spice
Dietmar Maurer [Wed, 26 Jun 2013 11:07:00 +0000 (13:07 +0200)]
new ticket code for spice

10 years agoassemble_spice_ticket: do not use base32 encoding
Dietmar Maurer [Tue, 25 Jun 2013 10:03:48 +0000 (12:03 +0200)]
assemble_spice_ticket: do not use base32 encoding

10 years agoassemble_spice_ticket
Alexandre Derumier [Tue, 25 Jun 2013 07:12:52 +0000 (09:12 +0200)]
assemble_spice_ticket

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
10 years agobump version to 3.0-4
Dietmar Maurer [Tue, 14 May 2013 09:57:13 +0000 (11:57 +0200)]
bump version to 3.0-4

10 years agomoved add_vm_to_pool/remove_vm_from_pool from qemu-server
Dietmar Maurer [Tue, 14 May 2013 09:55:26 +0000 (11:55 +0200)]
moved add_vm_to_pool/remove_vm_from_pool from qemu-server

Because we can also use this for openvz containers

10 years agorename VM.Copy to VM.Clone
Dietmar Maurer [Thu, 2 May 2013 09:44:52 +0000 (11:44 +0200)]
rename VM.Copy to VM.Clone

10 years agobump version to 3.0-3
Dietmar Maurer [Mon, 29 Apr 2013 09:42:25 +0000 (11:42 +0200)]
bump version to 3.0-3

10 years agoadd VM.Copy priviledge
Dietmar Maurer [Mon, 29 Apr 2013 09:40:32 +0000 (11:40 +0200)]
add VM.Copy priviledge

And a new role called PVETemplateUser

11 years agoremove CGI.pm related code
Dietmar Maurer [Mon, 15 Apr 2013 10:34:41 +0000 (12:34 +0200)]
remove CGI.pm related code

New pveproxy does not need that.

11 years agobump version to 3.0-1 for wheezy release
Dietmar Maurer [Fri, 15 Mar 2013 07:07:17 +0000 (08:07 +0100)]
bump version to 3.0-1 for wheezy release

11 years agofix access permissions for backup files
Dietmar Maurer [Thu, 28 Feb 2013 09:01:04 +0000 (10:01 +0100)]
fix access permissions for backup files

bump version to 1.0-26

11 years agobump RELEASE to 2.2
Dietmar Maurer [Mon, 24 Sep 2012 10:00:15 +0000 (12:00 +0200)]
bump RELEASE to 2.2

11 years agoadd VM.Snapshot permission
Dietmar Maurer [Mon, 10 Sep 2012 07:24:19 +0000 (09:24 +0200)]
add VM.Snapshot permission

11 years agountaint path
Dietmar Maurer [Wed, 6 Jun 2012 11:06:51 +0000 (13:06 +0200)]
untaint path

11 years agocorrectly compute GUI capabilities (consider pools)
Dietmar Maurer [Wed, 30 May 2012 06:47:43 +0000 (08:47 +0200)]
correctly compute GUI capabilities (consider pools)

11 years agonew plugin architecture for Auth modules
Dietmar Maurer [Wed, 16 May 2012 05:22:25 +0000 (07:22 +0200)]
new plugin architecture for Auth modules

11 years agodo not allow user names including slash
Dietmar Maurer [Tue, 24 Apr 2012 08:10:35 +0000 (10:10 +0200)]
do not allow user names including slash

11 years agoadd ability to fork cli workers in background
Dietmar Maurer [Tue, 24 Apr 2012 08:10:12 +0000 (10:10 +0200)]
add ability to fork cli workers in background

12 years agoreturn set of privileges on login - can be used to adopt GUI
Dietmar Maurer [Tue, 17 Apr 2012 08:26:48 +0000 (10:26 +0200)]
return set of privileges on login - can be used to adopt GUI

12 years agofix bug #151: corretly parse username inside ticket
Dietmar Maurer [Wed, 11 Apr 2012 08:21:15 +0000 (10:21 +0200)]
fix bug #151: corretly parse username inside ticket

12 years agoallow users to change his own password
Dietmar Maurer [Wed, 11 Apr 2012 07:40:42 +0000 (09:40 +0200)]
allow users to change his own password

12 years agobetter error message for useradd
Dietmar Maurer [Thu, 1 Mar 2012 11:40:52 +0000 (12:40 +0100)]
better error message for useradd

12 years agoset propagate flag by default
Dietmar Maurer [Thu, 1 Mar 2012 11:38:46 +0000 (12:38 +0100)]
set propagate flag by default

12 years agodd 'pveum passwd' method
Dietmar Maurer [Thu, 23 Feb 2012 11:06:06 +0000 (12:06 +0100)]
dd 'pveum passwd' method

12 years agoAdd VM.Config.CDROM privilege to PVEVMUser rule
Dietmar Maurer [Wed, 22 Feb 2012 10:45:55 +0000 (11:45 +0100)]
Add VM.Config.CDROM privilege to PVEVMUser rule

12 years agofix buf in userid-param permission check
Dietmar Maurer [Wed, 22 Feb 2012 09:53:08 +0000 (10:53 +0100)]
fix buf in userid-param permission check

12 years agoallow more characters in ldap base_dn attribute
Dietmar Maurer [Wed, 22 Feb 2012 05:17:27 +0000 (06:17 +0100)]
allow more characters in ldap base_dn attribute

12 years agoallow more characters with realm IDs
Dietmar Maurer [Mon, 20 Feb 2012 07:54:40 +0000 (08:54 +0100)]
allow more characters with realm IDs

12 years agouse full name for verify_user
Dietmar Maurer [Wed, 15 Feb 2012 06:06:58 +0000 (07:06 +0100)]
use full name for verify_user

12 years agochanged 'pveum aclmod' command line arguments
Dietmar Maurer [Tue, 14 Feb 2012 11:08:36 +0000 (12:08 +0100)]
changed 'pveum aclmod' command line arguments

We cant use multiple arguments with '-list' types. JSONSchema::get_options is unable to handle that.

12 years agofix acl group name parser
Dietmar Maurer [Tue, 14 Feb 2012 10:57:41 +0000 (11:57 +0100)]
fix acl group name parser

12 years agofix bug in check_volume_access (fixes vzrestore)
Dietmar Maurer [Mon, 13 Feb 2012 08:58:37 +0000 (09:58 +0100)]
fix bug in check_volume_access (fixes vzrestore)

12 years agofix return value for empty ACL list
Dietmar Maurer [Fri, 10 Feb 2012 10:25:23 +0000 (11:25 +0100)]
fix return value for empty ACL list

12 years agodo not allow to change system user passwords
Dietmar Maurer [Thu, 9 Feb 2012 10:26:37 +0000 (11:26 +0100)]
do not allow to change system user passwords

12 years agofix syntax
Dietmar Maurer [Thu, 9 Feb 2012 10:15:59 +0000 (11:15 +0100)]
fix syntax

12 years agomoved check_volume_access from qemu-server
Dietmar Maurer [Mon, 6 Feb 2012 11:34:24 +0000 (12:34 +0100)]
moved check_volume_access from qemu-server

12 years agoremove buggy check_storage_perm
Dietmar Maurer [Mon, 6 Feb 2012 11:04:21 +0000 (12:04 +0100)]
remove buggy check_storage_perm

Storage permissions are automatically inherited from pool, so this method is more or less useless.

12 years agonew privilege VM.Backup
Dietmar Maurer [Mon, 6 Feb 2012 09:41:48 +0000 (10:41 +0100)]
new privilege VM.Backup

12 years agonew privilege Datastore.AllocateTemplate
Dietmar Maurer [Mon, 6 Feb 2012 09:05:18 +0000 (10:05 +0100)]
new privilege Datastore.AllocateTemplate

12 years agoadd more privileges, improve docs
Dietmar Maurer [Wed, 1 Feb 2012 12:26:21 +0000 (13:26 +0100)]
add more privileges, improve docs

12 years agonew helper functions
Dietmar Maurer [Wed, 1 Feb 2012 09:06:22 +0000 (10:06 +0100)]
new helper functions

12 years agonew test option 'require_param' - code cleanup
Dietmar Maurer [Wed, 1 Feb 2012 06:49:07 +0000 (07:49 +0100)]
new test option 'require_param'  - code cleanup

12 years agoadd special test for pool
Dietmar Maurer [Tue, 31 Jan 2012 07:23:33 +0000 (08:23 +0100)]
add special test for pool

12 years agoadd Pool.Allocate priviledge
Dietmar Maurer [Tue, 31 Jan 2012 06:37:38 +0000 (07:37 +0100)]
add Pool.Allocate priviledge

12 years agomoved Pool.pm to pve-manager package
Dietmar Maurer [Fri, 27 Jan 2012 07:44:22 +0000 (08:44 +0100)]
moved Pool.pm to pve-manager package

12 years agocleanup permission checks
Dietmar Maurer [Fri, 27 Jan 2012 07:32:41 +0000 (08:32 +0100)]
cleanup permission checks

Added new Real.AllocateUser priviledge

12 years agocode cleanup
Dietmar Maurer [Thu, 26 Jan 2012 13:02:25 +0000 (14:02 +0100)]
code cleanup

12 years agofix return format
Dietmar Maurer [Thu, 26 Jan 2012 12:46:31 +0000 (13:46 +0100)]
fix return format

12 years agocode cleanup
Dietmar Maurer [Thu, 26 Jan 2012 12:35:33 +0000 (13:35 +0100)]
code cleanup

12 years agoreturn array instead of hash
Dietmar Maurer [Thu, 26 Jan 2012 12:02:07 +0000 (13:02 +0100)]
return array instead of hash

12 years agoadd pool API
Dietmar Maurer [Thu, 26 Jan 2012 11:42:01 +0000 (12:42 +0100)]
add pool API

12 years agoremove debug message
Dietmar Maurer [Thu, 26 Jan 2012 08:54:56 +0000 (09:54 +0100)]
remove debug message

12 years agoonly add Permissions.Modify to SysAdmin role
Dietmar Maurer [Thu, 26 Jan 2012 08:39:02 +0000 (09:39 +0100)]
only add Permissions.Modify to SysAdmin role

12 years agoadd description
Dietmar Maurer [Thu, 26 Jan 2012 07:31:27 +0000 (08:31 +0100)]
add description

12 years agouse User.Allocate instead of User.Add/User.Delete
Dietmar Maurer [Thu, 26 Jan 2012 07:26:31 +0000 (08:26 +0100)]
use User.Allocate instead of User.Add/User.Delete

12 years agoimplement helper to check if we can modify permission
Dietmar Maurer [Thu, 26 Jan 2012 07:25:16 +0000 (08:25 +0100)]
implement helper to check if we can modify permission

12 years agofix NoAccess when inheritred from pool
Dietmar Maurer [Thu, 26 Jan 2012 05:13:59 +0000 (06:13 +0100)]
fix NoAccess when inheritred from pool

12 years agoremove debug message
Dietmar Maurer [Thu, 26 Jan 2012 05:03:06 +0000 (06:03 +0100)]
remove debug message

12 years agostart pool support, return NoAccess role, fix acl cache
Dietmar Maurer [Wed, 25 Jan 2012 12:54:36 +0000 (13:54 +0100)]
start pool support, return NoAccess role, fix acl cache

12 years agomoved permission check code from REST.pm
Dietmar Maurer [Wed, 25 Jan 2012 05:40:08 +0000 (06:40 +0100)]
moved permission check code from REST.pm

12 years agofix access control
Dietmar Maurer [Tue, 24 Jan 2012 10:50:41 +0000 (11:50 +0100)]
fix access control

12 years agouse new syntax for permission checks
Dietmar Maurer [Mon, 23 Jan 2012 11:14:45 +0000 (12:14 +0100)]
use new syntax for permission checks

And use better names for user priviledges.

12 years agosimplify filter_groups
Dietmar Maurer [Mon, 23 Jan 2012 08:58:03 +0000 (09:58 +0100)]
simplify filter_groups

12 years agonew API to change password
Dietmar Maurer [Fri, 20 Jan 2012 11:45:24 +0000 (12:45 +0100)]
new API to change password

Started to implement fine grained permission checks.

12 years agouse new decode_utf8_parameters() to decode CGI parameters
Dietmar Maurer [Thu, 19 Jan 2012 13:06:41 +0000 (14:06 +0100)]
use new decode_utf8_parameters() to decode CGI parameters

12 years agofix bug #85: implement vnc tickets
Dietmar Maurer [Thu, 19 Jan 2012 08:27:05 +0000 (09:27 +0100)]
fix bug #85: implement vnc tickets

Those tickets are restricted to a single resource path, and are only valid for
a short period of time (60s).

12 years agorename user_enabled to check_user_enabled
Dietmar Maurer [Thu, 19 Jan 2012 05:49:02 +0000 (06:49 +0100)]
rename user_enabled to check_user_enabled

And add $noerr parameter.

12 years agoimport cfs_read_file
Dietmar Maurer [Wed, 18 Jan 2012 08:21:21 +0000 (09:21 +0100)]
import cfs_read_file

12 years agoallow to safe attribute for root@pam
Dietmar Maurer [Wed, 18 Jan 2012 08:10:49 +0000 (09:10 +0100)]
allow to safe attribute for root@pam

We will use the email address to forward notification (and root mails).

12 years agofix perl syntax
Dietmar Maurer [Wed, 18 Jan 2012 06:09:39 +0000 (07:09 +0100)]
fix perl syntax

12 years agoadd test if user exists
Dietmar Maurer [Wed, 18 Jan 2012 06:06:16 +0000 (07:06 +0100)]
add test if user exists

12 years agofix bug #85: allow root@pam to generate tickets for other users
Dietmar Maurer [Tue, 17 Jan 2012 05:42:42 +0000 (06:42 +0100)]
fix bug #85: allow root@pam to generate tickets for other users

12 years agoallow user to see his own entry
Dietmar Maurer [Fri, 13 Jan 2012 12:31:18 +0000 (13:31 +0100)]
allow user to see his own entry

12 years agoset minimal and maximal password length
Dietmar Maurer [Fri, 13 Jan 2012 11:04:36 +0000 (12:04 +0100)]
set minimal and maximal password length

12 years agoallow to pass emtpy strings to delete settings
Dietmar Maurer [Fri, 13 Jan 2012 08:42:53 +0000 (09:42 +0100)]
allow to pass emtpy strings to delete settings

12 years agoallow port 0 to use default value
Dietmar Maurer [Fri, 13 Jan 2012 08:13:41 +0000 (09:13 +0100)]
allow port 0 to use default value

12 years agoadded domain attribute for AD servers
Dietmar Maurer [Fri, 13 Jan 2012 07:03:25 +0000 (08:03 +0100)]
added domain attribute for AD servers

12 years agoallow to delete all groups
Dietmar Maurer [Thu, 12 Jan 2012 08:27:32 +0000 (09:27 +0100)]
allow to delete all groups

12 years agoallow to filter enabled/disabled user
Dietmar Maurer [Wed, 11 Jan 2012 11:30:58 +0000 (12:30 +0100)]
allow to filter enabled/disabled user

12 years agocleanup code to get/set result_attributes
Dietmar Maurer [Wed, 21 Dec 2011 06:06:37 +0000 (07:06 +0100)]
cleanup code to get/set result_attributes

12 years agoadd a way to return file changes (diffs)
Dietmar Maurer [Tue, 20 Dec 2011 10:19:50 +0000 (11:19 +0100)]
add a way to return file changes (diffs)

12 years agoadd new environment type 'ha'
Dietmar Maurer [Tue, 13 Dec 2011 09:07:12 +0000 (10:07 +0100)]
add new environment type 'ha'

We use this to mark tasks started by HA manager (rgmanager agents).

12 years agouse 'mv' to make targets atomic
Dietmar Maurer [Wed, 7 Dec 2011 05:19:44 +0000 (06:19 +0100)]
use 'mv' to make targets atomic

To avoid empty man page bug.

12 years agoremove generated files in clean target
Dietmar Maurer [Tue, 6 Dec 2011 10:45:34 +0000 (11:45 +0100)]
remove generated files in clean target

12 years agoupdate version to 1.0-3
Dietmar Maurer [Fri, 2 Dec 2011 08:56:58 +0000 (09:56 +0100)]
update version to 1.0-3