perms

package
v0.2.13-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RequiredPermissions = map[string][]bakery.Op{
	"/frdrpc.FaradayServer/OutlierRecommendations": {{
		Entity: "recommendation",
		Action: "read",
	}},
	"/frdrpc.FaradayServer/ThresholdRecommendations": {{
		Entity: "recommendation",
		Action: "read",
	}},
	"/frdrpc.FaradayServer/RevenueReport": {{
		Entity: "report",
		Action: "read",
	}},
	"/frdrpc.FaradayServer/ChannelInsights": {{
		Entity: "insights",
		Action: "read",
	}},
	"/frdrpc.FaradayServer/ExchangeRate": {{
		Entity: "rates",
		Action: "read",
	}},
	"/frdrpc.FaradayServer/NodeAudit": {{
		Entity: "audit",
		Action: "read",
	}},
	"/frdrpc.FaradayServer/CloseReport": {{
		Entity: "report",
		Action: "read",
	}},
}

RequiredPermissions is a map of all faraday RPC methods and their required macaroon permissions to access faraday.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL