how can i define KVM and Env Variable access through custom roles

Hi,

I am creating custom roles, but there is no option to give the access to create the KVM or env variables. by default these access are not available to any custom roles. Can anyone suggest how can i give these access.

Regards,

Krushna

Solved Solved
0 2 477
1 ACCEPTED SOLUTION

Hi Krushna

Via the Management API, it's possible to control more specific permissions against a role

These permissions can be set via the Resource Permissions url

There's also an example here of creating a role and setting permissions against it via the API

I believe the specific permission you're interested in for KVM would be as below

{
	"organization": "{my org}",
	"path": "/environments/{my environment}/keyvaluemaps",
	"permissions": [
		"put",
		"get"
	]
}

View solution in original post

2 REPLIES 2

Hi Krushna

Via the Management API, it's possible to control more specific permissions against a role

These permissions can be set via the Resource Permissions url

There's also an example here of creating a role and setting permissions against it via the API

I believe the specific permission you're interested in for KVM would be as below

{
	"organization": "{my org}",
	"path": "/environments/{my environment}/keyvaluemaps",
	"permissions": [
		"put",
		"get"
	]
}

Thanks Dane, it works..I was trying that in the Edge side and not able to do that..