openware / barong

Barong auth server
https://www.openware.com
Apache License 2.0
139 stars 262 forks source link

Undefined Variable permission in seed_restrictions #1110

Closed martianatwork closed 3 years ago

martianatwork commented 4 years ago

https://github.com/openware/barong/blob/2c259c47ada96c43fafa5f679f0bb71670ea319f/lib/barong/seed.rb#L116

ec commented 4 years ago

Thanks for the tip!) Yes, we know about that, i will prepare fix today

martianatwork commented 4 years ago

@ec while you are on it, there is an issue with restrictions seeds as well, we should check if the record exists before creating restrictions

ec commented 4 years ago

@martianatwork yes, i meant this one as well) It appeared because of changing restrictions uniqueness policy without proper updating of seeds.

chumaknadya commented 3 years ago

Fixed on 2-6-stable, 2-5-stable, master