mirror of
https://github.com/mistergibson/gxg-framework.git
synced 2026-08-15 03:46:00 -07:00
Bug fix 1
This commit is contained in:
parent
4bb9f2f2ea
commit
6fa51485dd
2 changed files with 5 additions and 3 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
*.gem
|
||||
|
||||
|
|
@ -1770,10 +1770,10 @@ module GxG
|
|||
the_record[:permissions] = entry[:permissions]
|
||||
if self.role_exist?(entry[:credential])
|
||||
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][:group] = group[:uuid].to_s.to_sym
|
||||
the_record[:details][:group_title] = group[:title]
|
||||
# the_record[:details][:group] = group[:uuid].to_s.to_sym
|
||||
# the_record[:details][:group_title] = group[:title]
|
||||
else
|
||||
if self.user_exist?(entry[:credential])
|
||||
user = self.user_fetch({:uuid => entry[:credential].to_s})
|
||||
|
|
|
|||
Loading…
Reference in a new issue