Bug fix 1

This commit is contained in:
G. Gibson 2022-04-23 10:35:20 -07:00
parent 4bb9f2f2ea
commit 6fa51485dd
2 changed files with 5 additions and 3 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*.gem

View file

@ -1770,10 +1770,10 @@ module GxG
the_record[:permissions] = entry[:permissions] the_record[:permissions] = entry[:permissions]
if self.role_exist?(entry[:credential]) if self.role_exist?(entry[:credential])
role = self.role_fetch({:uuid => entry[:credential].to_s}) role = self.role_fetch({:uuid => entry[:credential].to_s})
group = self.group_fetch({:uuid => role[:group_uuid].to_s}) # group = self.group_fetch({:uuid => role[:group_uuid].to_s})
the_record[:details][:role_title] = role[:title] the_record[:details][:role_title] = role[:title]
the_record[:details][:group] = group[:uuid].to_s.to_sym # the_record[:details][:group] = group[:uuid].to_s.to_sym
the_record[:details][:group_title] = group[:title] # the_record[:details][:group_title] = group[:title]
else else
if self.user_exist?(entry[:credential]) if self.user_exist?(entry[:credential])
user = self.user_fetch({:uuid => entry[:credential].to_s}) user = self.user_fetch({:uuid => entry[:credential].to_s})