[GRASS-dev] [GRASS GIS] #1829: Allow user to override MAPSET ownership check

GRASS GIS trac at osgeo.org
Wed Feb 20 01:13:52 PST 2013


#1829: Allow user to override MAPSET ownership check
-------------------------+--------------------------------------------------
 Reporter:  marisn       |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  minor        |   Milestone:  7.0.0                    
Component:  Startup      |     Version:  svn-trunk                
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by wenzeslaus):

 {{{
 os.environ['GRASS_SKIP_MAPSET_OWNER_CHECK'] = '1'
 }}}

 This works. I've just tried this in Python. It was very helpful, by the
 way.

 However, I don't know how to support this in GUI.

 1) It is env variable not gisenv variable, so it is per-process. GUI
 cannot set it for command line. Two solutions:
  * set the variable on grass start-up (the safe way, but still, I don't
 know how to transfer the wxGUI settings to start-up script)
  * change this to gisenv variable (consequences?)

 2) Where to put the check in the GUI?

 3) Do we even need to support this in GUI (it is a very special thing)?
 Can we close this ticket as fixed now?

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1829#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list