You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by "Waldron, Michael H" <mw...@email.unc.edu> on 2011/06/16 21:30:56 UTC

Block allocations in 2.2.1

So VCL 2.2.1 has added a great feature of allowing users to request block allocations directly from the menus. I noticed that when I accept a request, it gets entered into the blockRequest table, and also related tables such as blockWebTimes, blockWebDate, and blockTimes get populated accordingly. However, as admin, when I go to Block Allocations, it says there are currently no block allocations.

Is there a way to see the block allocation other than querying the database directly? Is this a bug? If I directly create a block allocation as admin, then I see it on the Block Allocations page, however I do not see the one that was accepted from a user request.

Mike Waldron
Systems Specialist
ITS Research Computing
University of North Carolina at Chapel Hill
CB 3420, ITS Manning, Rm 2509
919-962-9778


RE: Block allocations in 2.2.1

Posted by "Waldron, Michael H" <mw...@email.unc.edu>.
Ah ok. I set the admingroupid in the blockRequest table and now I can see it.

Thanks Josh!


Mike Waldron
Systems Specialist
ITS Research Computing
University of North Carolina at Chapel Hill
CB 3420, ITS Manning, Rm 2509
919-962-9778

-----Original Message-----
From: Josh Thompson [mailto:josh_thompson@ncsu.edu] 
Sent: Thursday, June 16, 2011 4:02 PM
To: vcl-user@incubator.apache.org
Subject: Re: Block allocations in 2.2.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike,

This is a logic bug.  When you approve a block allocation request, you have to 
select a user group that is allowed to manage it.  "None" is one of the 
options.  When None is used as the managing user group, then only the owner of 
the block allocation can see it to manage it.  This was fine when only admins 
could be the owners.  However, now, if a normal user requests one, that user 
is the owner but doesn't have adequate permissions to manage it, resulting in 
a block allocation that cannot be managed at all.

So, you have to make sure you select an admin user group to be the managing 
user group when you accept it.  This will be fixed in 2.3.

Josh

On Thursday June 16, 2011, Waldron, Michael H wrote:
> So VCL 2.2.1 has added a great feature of allowing users to request block
> allocations directly from the menus. I noticed that when I accept a
> request, it gets entered into the blockRequest table, and also related
> tables such as blockWebTimes, blockWebDate, and blockTimes get populated
> accordingly. However, as admin, when I go to Block Allocations, it says
> there are currently no block allocations.
> 
> Is there a way to see the block allocation other than querying the database
> directly? Is this a bug? If I directly create a block allocation as admin,
> then I see it on the Block Allocations page, however I do not see the one
> that was accepted from a user request.
> 
> Mike Waldron
> Systems Specialist
> ITS Research Computing
> University of North Carolina at Chapel Hill
> CB 3420, ITS Manning, Rm 2509
> 919-962-9778
- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk36YSoACgkQV/LQcNdtPQNRWwCfdHqk/oE/BvKdD+F/gEYRDBlG
+hMAn2mtbVZZRImjKoTASWj3A9eOK6sh
=e01K
-----END PGP SIGNATURE-----

Re: Block allocations in 2.2.1

Posted by Josh Thompson <jo...@ncsu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike,

This is a logic bug.  When you approve a block allocation request, you have to 
select a user group that is allowed to manage it.  "None" is one of the 
options.  When None is used as the managing user group, then only the owner of 
the block allocation can see it to manage it.  This was fine when only admins 
could be the owners.  However, now, if a normal user requests one, that user 
is the owner but doesn't have adequate permissions to manage it, resulting in 
a block allocation that cannot be managed at all.

So, you have to make sure you select an admin user group to be the managing 
user group when you accept it.  This will be fixed in 2.3.

Josh

On Thursday June 16, 2011, Waldron, Michael H wrote:
> So VCL 2.2.1 has added a great feature of allowing users to request block
> allocations directly from the menus. I noticed that when I accept a
> request, it gets entered into the blockRequest table, and also related
> tables such as blockWebTimes, blockWebDate, and blockTimes get populated
> accordingly. However, as admin, when I go to Block Allocations, it says
> there are currently no block allocations.
> 
> Is there a way to see the block allocation other than querying the database
> directly? Is this a bug? If I directly create a block allocation as admin,
> then I see it on the Block Allocations page, however I do not see the one
> that was accepted from a user request.
> 
> Mike Waldron
> Systems Specialist
> ITS Research Computing
> University of North Carolina at Chapel Hill
> CB 3420, ITS Manning, Rm 2509
> 919-962-9778
- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk36YSoACgkQV/LQcNdtPQNRWwCfdHqk/oE/BvKdD+F/gEYRDBlG
+hMAn2mtbVZZRImjKoTASWj3A9eOK6sh
=e01K
-----END PGP SIGNATURE-----