Skip to content

Commit

Permalink
Merge pull request #494 from edx/dcs/config-perm
Browse files Browse the repository at this point in the history
Create worker config with more open permissions
  • Loading branch information
davestgermain authored Dec 26, 2018
2 parents cf75b50 + f205008 commit be2e2d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edx_proctoring/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
from __future__ import absolute_import

# Be sure to update the version number in edx_proctoring/package.json
__version__ = '1.5.0rc6'
__version__ = '1.5.0rc7'

default_app_config = 'edx_proctoring.apps.EdxProctoringConfig' # pylint: disable=invalid-name
2 changes: 2 additions & 0 deletions edx_proctoring/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from __future__ import absolute_import

import json
import os
import os.path
import warnings

Expand Down Expand Up @@ -41,6 +42,7 @@ def make_worker_config(backends, out='/tmp/workers.json'):
if config:
with open(out, 'wb') as outfp:
json.dump(config, outfp)
os.chmod(out, 0o664)
return True
return False

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@edx/edx-proctoring",
"//": "Be sure to update the version number in edx_proctoring/__init__.py",
"//": "Note that the version format is slightly different than that of the Python version when using prereleases.",
"version": "1.5.0-rc.6",
"version": "1.5.0-rc.7",
"main": "edx_proctoring/static/index.js",
"repository": {
"type": "git",
Expand Down

0 comments on commit be2e2d9

Please sign in to comment.