// Code generated by protoc-gen-policy. DO NOT EDIT.
// source: external/user_settings/user_settings.proto

package user_settings

import policy "github.com/chef/automate/api/external/iam/v2/policy"

func init() {
	policy.MapMethodTo("/chef.automate.api.user_settings.UserSettingsService/GetUserSettings", "iam:introspect", "iam:introspect:getAll", "GET", "/api/v0/user-settings/{user.name}/{user.connector}", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.user_settings.UserSettingsService/PutUserSettings", "iam:introspect", "iam:introspect:update", "PUT", "/api/v0/user-settings/{user.name}/{user.connector}", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.user_settings.UserSettingsService/DeleteUserSettings", "global:userSettings:{user.name}:{user.connector}", "global:userSettings:delete", "DELETE", "/api/v0/user-settings/{user.name}/{user.connector}", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
}
