v4.1.3 #17

Merged
asonix merged 42 commits from asonix/changes into asonix/downstream 2023-07-06 14:31:00 +00:00
Showing only changes of commit a3d69a2c5d - Show all commits

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
class ScopeParser < Parslet::Parser
rule(:term) { match('[a-z]').repeat(1).as(:term) }
rule(:term) { match('[a-z_]').repeat(1).as(:term) }
rule(:colon) { str(':') }
rule(:access) { (str('write') | str('read')).as(:access) }
rule(:namespace) { str('admin').as(:namespace) }