Skip to main content

Hi, I am trying to deploy dry run but its getting failed and gives below error. Please help to fix this as well as help to understand what exactly it is.

 

Don't have correct access rights to clean all-scoped groups. Missing:
GroupsAcl(actions==GroupsAcl Action.List], scope=AllScope())
GroupsAcl(actions==GroupsAcl Action.Read], scope=AllScope())

 

and 

ERROR (AuthorizationError): Don't have correct access rights to clean data sets. Missing:
DataSetsAcl(actions=n<DataSetsAcl Action.Read: 'READ'>], scope=AllScope())

There are multiple things here.

  1. There is a bug in the error message it should say `Don't have correct access rights to deploy data sets`. This will be fixed.
  2. It looks like you are trying to deploy Groups and DataSets.
  3. You do not have access to read groups and DataSets, so Toolkit cannot compare your local configurations to the Group and DataSets configurations in CDF.

Lacking access means that the service principal you are using (how you authenticated to run Toolikt, see https://docs.cognite.com/cdf/deploy/cdf_toolkit/guides/auth for more details) is not set up with the correct authorization for what you are trying to do.


Reply