Skip to content

Commit

Permalink
Extend get_enabled_roles docs (#2157)
Browse files Browse the repository at this point in the history
  • Loading branch information
yngvar-antonsson authored Nov 20, 2023
1 parent 0740266 commit 22ced29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cartridge/roles.lua
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ local enabled_roles_cache = setmetatable({}, {__mode = 'k'})
-- This function returns all roles that will be enabled
-- including their dependencies (both hidden and not)
-- and permanent roles.
-- By default, only permanent roles are returned.
-- When you pass table with the roles names as an argument,
-- This function also checks their dependencies and
-- returns them as well.
--
-- @function get_enabled_roles
-- @local
Expand Down

0 comments on commit 22ced29

Please sign in to comment.