HUE-1624 [hbase] Configurable write permissions

Review Request #4213 — Created Feb. 28, 2014 and submitted

abec
old-hue-rw
HUE-1624
hue
enricoberti, romain
commit 9677ea0578875cb7a2991796522ac3106eefe5bf
Author: Abraham Elmahrek <abraham@elmahrek.com>
Date:   Fri Feb 28 16:33:45 2014 -0800

    HUE-1624 [hbase] Configurable write permissions
    
    Add read_only switch.
    Remove Bulk upload, new row, add column, and edit cell when read_only is true.
    Also remove add table functionality when read_only is true.

:100644 100644 4deebc1... 1faa8de... M  apps/hbase/src/hbase/settings.py
:100644 100644 a366a6f... 7e61063... M  apps/hbase/src/hbase/templates/app.mako
:100644 100644 a3ecf23... 5a18580... M  apps/hbase/src/hbase/views.py
:100644 100644 53ebfa0... 912bfd7... M  apps/hbase/static/js/app.js
:100644 100644 cd2a601... 0f7e5a6... M  apps/hbase/static/js/base.js
:100644 100644 6a46933... 0e41c53... M  apps/hbase/static/js/controls.js
:100644 100644 b053474... 12c174f... M  apps/hbase/static/js/utils.js
:100644 100644 3ec56a3... 4dd49a7... M  apps/useradmin/src/useradmin/models.py
Manually tested read_only permission.
  • 1
  • 0
  • 1
  • 0
  • 2
Description From Last Updated
global var comment? Is there a better way for giving it to AppViewModel? romain romain
romain
  1. So migrate to the other design: write perm?
  2. apps/hbase/src/hbase/templates/app.mako (Diff revision 1)
     
     
    global var comment?
    
    Is there a better way for giving it to AppViewModel?
    1. It seems difficult given the AppViewModel is defined and instantiated in app.js. We could split things up and instantiate AppViewModel outside of app.js, but I'd rather not modify things too much? Let me know what you think!
  3. apps/useradmin/src/useradmin/models.py (Diff revision 1)
     
     
     
    I am thinking, we could have a 'write' perm only, it would be clearer and by default non su would not have it.
    
    
    
    
  4. 
      
abec
romain
  1. Excellent!!
    
    Could we do metastore (read_only_access --> write) in another jira too to be on sync? 
  2. 
      
abec
Review request changed

Status: Closed (submitted)

Loading...