Etymology
Today it means: In a permissible manner. Full definition →
From permissible + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.