[one-users] Authorization for files datastore
Jacek Jarosiewicz
nebula at supermedia.pl
Thu Jun 6 03:29:55 PDT 2013
Hi,
This looks like a problem with identifying image by oned, not like a
problem with permissions.
try: $FILE[IMAGE_ID=<ID>]
You can obtain image id from `oneimage list' command
Cheers,
J
On 06/06/2013 12:27 PM, Steffen Claus wrote:
> Dear all,
> I have a question regarding the authorization procedure for using files within a template.
>
> There are two users within the same group.
> One user uploads a file to the files datastore.
> The other user tries to instantiate a template that uses the aforementioned file within the CONTEXT.
>
> No matter how unrestricted I design the ACLS (allow everything on the file itself & global ACL for "Documents" resources), it seems like only the owner of the file can use it within a template.
>
> --> Error message:
>
> "[TemplateInstantiate] Error allocating a new virtual machine.
> Error parsing: $FILE[IMAGE="test"].
> Cannot get image (check name/ID or try IMAGE_UNAME or IMAGE_UID)."
>
> Is this an expected behaviour/security feature?
> How are the ACLs supposed to look like?
>
> BR,
> Steffen
>
>
--
Jacek Jarosiewicz
More information about the Users
mailing list