This is a bit more than simply adding the action; we had some
checks to ensure that list/create could only happen/not happen
in some cases and those had to be modified to account for
subactions.
returnGrant{},errors.NewDeprecated(errors.InvalidParameter,op,"parsed grant string contains no actions or output fields")
}
case1:
if!grant.actions[action.Create]&&
!grant.actions[action.List]{
if!grant.hasActionOrSubaction(action.Create)&&
!grant.hasActionOrSubaction(action.List){
returnGrant{},errors.NewDeprecated(errors.InvalidParameter,op,"parsed grant string contains non-create or non-list action in a format that only allows these")
returnGrant{},errors.NewDeprecated(errors.InvalidParameter,op,"parsed grant string contains non-create or non-list action in a format that only allows these")