Project

General

Profile

Feature #576

Code revision about "Permissions for new directories/files"

Added by Ivan Tcholakov almost 10 years ago. Updated almost 10 years ago.

Status:
Feature implemented
Priority:
Normal
Category:
-
Target version:
Start date:
05/02/2010
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

I doubt that current code implements everywhere the settings "Administration > Configuration settings > Security > Permissions for new directories" and "Administration > Configuration settings > Security > Permissions for new files".
This should be checked.

And more, two new functions such as api_get_permissions_for_new_directories() and api_get_permissions_for_new_files() would simplfy and unify coding about directory/file permissions.

I will do this task.

History

#1

Updated by Ivan Tcholakov almost 10 years ago

10205:41f5ba8bb430 Feature #576 - Two functions has been added in the main API - api_get_permissions_for_new_directories() and api_get_permissions_for_new_files(). Other cosmetic changes have been done.
http://code.google.com/p/chamilo/source/detail?r=41f5ba8bb430a0250ec7017d07c6dd6540a10f3d&repo=classic

#2

Updated by Ivan Tcholakov almost 10 years ago

10206:7ec2e2b99e36 Feature #576 - Formal tests about the functions api_get_permissions_for_new_directories() and api_get_permissions_for_new_files() have been added.
http://code.google.com/p/chamilo/source/detail?r=7ec2e2b99e36f261c36de9bdb5f82eca1f42e260&repo=classic

#3

Updated by Ivan Tcholakov almost 10 years ago

10228:8e7887e4f9b7 Feature #576 - Some minor corrections about the previous transaction.
http://code.google.com/p/chamilo/source/detail?r=8e7887e4f9b7920329f82bde65cd1ba9189b6cb0&repo=classic

10225:1d51864e9268 Feature #576 - Applying the function api_get_permissions_for_new_directories() on its relevant places. Using the function umask() has been avoided because this function is not thread-safe. Other minor corrections.
http://code.google.com/p/chamilo/source/detail?r=1d51864e9268e0939dad7fd72565be846fa24e3a&repo=classic

#4

Updated by Ivan Tcholakov almost 10 years ago

10229:7bb13b044f1e Feature #576 - Additional insertions of the function api_get_permissions_for_new_directories(), other minor corrections.
http://code.google.com/p/chamilo/source/detail?r=7bb13b044f1e5fc254c9781e2064f096d3a02a2c&repo=classic

#5

Updated by Ivan Tcholakov almost 10 years ago

10232:7176da85b118 Feature #576 - The function mkpath() has been declared as deprecated. Elimination of this function form the actual code.
http://code.google.com/p/chamilo/source/detail?r=7176da85b118bef00fc14542471828f35df3eb73&repo=classic

#6

Updated by Ivan Tcholakov almost 10 years ago

10233:eb1a8753c81d Feature #576 - Applying the new function api_get_permissions_for_new_files().
http://code.google.com/p/chamilo/source/detail?r=eb1a8753c81d802d52f42a27cd5b84812363dfda&repo=classic

#7

Updated by Ivan Tcholakov almost 10 years ago

  • Status changed from New to Feature implemented
  • % Done changed from 0 to 100

Also available in: Atom PDF