mirror of
https://github.com/mistergibson/gxg-server.git
synced 2026-08-15 02:15:59 -07:00
Testing 4
This commit is contained in:
parent
9a5339e7f0
commit
404c356113
1 changed files with 2 additions and 1 deletions
|
|
@ -967,7 +967,8 @@ module GxG
|
|||
end
|
||||
#
|
||||
def create_directory(the_path="", credential=:"00000000-0000-4000-0000-000000000000", options={})
|
||||
result = {:result => false}
|
||||
#result = {:result => false}
|
||||
result = nil
|
||||
if self.permissions(File.dirname(the_path), credential)[:create] == false
|
||||
result = {:result => false, :error => "Permission Error", :error_code => :permission}
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue