{"size": 730, "ext": "js", "max_stars_repo_path": "constants.js", "max_stars_repo_name": "rzvdaniel/eCameleonMoleculerAuth", "max_stars_repo_stars_event_min_datetime": "2020-03-27T20:04:10.000Z", "max_stars_repo_stars_event_max_datetime": "2020-03-27T20:04:10.000Z", "max_issues_repo_path": "constants.js", "max_issues_repo_name": "rzvdaniel/eCameleonMoleculerAuth", "max_issues_repo_issues_event_min_datetime": "2020-09-04T17:55:03.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-10T17:25:40.000Z", "max_forks_repo_path": "constants.js", "max_forks_repo_name": "rzvdaniel/eCameleonMoleculerAuth", "max_forks_repo_forks_event_min_datetime": "2021-07-24T20:14:06.000Z", "max_forks_repo_forks_event_max_datetime": "2021-07-24T20:14:06.000Z"}
{"max_stars_count": 1, "max_issues_count": 7, "max_forks_count": 1, "avg_line_length": 23.5483870968, "max_line_length": 81, "alphanum_fraction": 0.6630136986}
"use strict";

module.exports = {

	/**
	 * Role-based ACL (Access-Control-List) constants
	 *
	 * Special roles:
	 * 		- $everyone (unauthenticated users)
	 * 		- $authenticated (authenticated user)
	 * 		- $owner (owner of entity)
	 * 		- $system (???)
	 *
	 * TODO:
	 * 	- Other role names can't start with $. It's an internal special role marker.
	 *  - Other role names can't contain colon (:). It's a permission separator
	 */
	ROLE_SYSTEM: "$system",
	ROLE_EVERYONE: "$everyone",
	ROLE_AUTHENTICATED: "$authenticated",
	ROLE_OWNER: "$owner",

	/**
	 * Service endpoints visibility
	 */
	VISIBILITY_PRIVATE: "private",
	VISIBILITY_PROTECTED: "protected",
	VISIBILITY_PUBLIC: "public",
	VISIBILITY_PUBLISHED: "published",
};
