tridentli / pitchfork

Golang framework for secure communication platforms.
Apache License 2.0
5 stars 3 forks source link

Unify GetGroupCanSee || IsSysAdmin #103

Open massar opened 7 years ago

massar commented 7 years ago

We have some cases where we do GetGroupCanSee || IsSysAdmin but in others we just check for GetGroupCanSee. Move the IsSysAdmin check inside of GetGroupCanSee and remove the || addition.