forked from External/greenlight
Remove hardcoded role value (#1152)
This commit is contained in:
parent
348713d4df
commit
6dc0ffc5c1
|
@ -57,7 +57,6 @@ module AuthValues
|
||||||
end
|
end
|
||||||
|
|
||||||
def auth_roles(user, auth)
|
def auth_roles(user, auth)
|
||||||
auth['info']['roles'] = "Viewer"
|
|
||||||
unless auth['info']['roles'].nil?
|
unless auth['info']['roles'].nil?
|
||||||
roles = auth['info']['roles'].split(',')
|
roles = auth['info']['roles'].split(',')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue