mirror of
https://github.com/mistergibson/gxg-server.git
synced 2026-08-15 02:15:59 -07:00
Testing 2
This commit is contained in:
parent
a1c6f7f372
commit
0f8c943e41
1 changed files with 1 additions and 0 deletions
|
|
@ -1215,6 +1215,7 @@ module GxGwww
|
|||
profile = GxG::SERVICES[:core][:resources].profile(details[:path], @credential)
|
||||
if profile
|
||||
if profile[:permissions][:effective][:read] == true
|
||||
GxG::SERVICES[:core][:resources].create_directory(temp_dir, ::GxG::DB[:administrator])
|
||||
if GxG::SERVICES[:core][:resources].copy(details[:path], ::GxG::DB[:administrator], final_path)
|
||||
cache_profile = (GxG::SERVICES[:core][:resources].entries(temp_dir, ::GxG::DB[:administrator]) || []).first
|
||||
if cache_profile
|
||||
|
|
|
|||
Loading…
Reference in a new issue