Re: [GRASS-dev] TGRASS: mapset management question

2015-09-22 Thread Markus Neteler
On Tue, Sep 22, 2015 at 1:57 AM, Vaclav Petras wrote: > On Mon, Sep 21, 2015 at 5:06 PM, Markus Neteler wrote: >> Is there a way to add an extra condition within the case 0. Or do we >> need a new G_mapset_permissions3() being less picky about ownership? > > I'm not completely following the discu

Re: [GRASS-dev] TGRASS: mapset management question

2015-09-21 Thread Vaclav Petras
On Mon, Sep 21, 2015 at 5:06 PM, Markus Neteler wrote: > > Is there a way to add an extra condition within the case 0. Or do we > need a new G_mapset_permissions3() being less picky about ownership? I'm not completely following the discussion but if there is a need to test Mapset permissions fo

Re: [GRASS-dev] TGRASS: mapset management question

2015-09-21 Thread Markus Neteler
On Thu, Sep 17, 2015 at 11:19 PM, Markus Neteler wrote: > On Thu, Sep 17, 2015 at 1:53 PM, Markus Neteler wrote: ... > So, multiple mapset support backported. > > Thanks again to Soeren to figure it out. ... > PS: Now we only need to shut up the warnings there :) Found it: lib/temporal/lib/conne

Re: [GRASS-dev] TGRASS: mapset management question

2015-09-17 Thread Markus Neteler
On Thu, Sep 17, 2015 at 1:53 PM, Markus Neteler wrote: > Hi, > > On Mon, Sep 14, 2015 at 10:53 PM, Markus Neteler wrote: >> Hi Soeren, >> >> thanks for fixes r66205 + r66206, now I get at least "some" feedback :) > > I have tried to backport this to the relbranch in > https://trac.osgeo.org/grass

Re: [GRASS-dev] TGRASS: mapset management question

2015-09-17 Thread Markus Neteler
Hi, On Mon, Sep 14, 2015 at 10:53 PM, Markus Neteler wrote: > Hi Soeren, > > thanks for fixes r66205 + r66206, now I get at least "some" feedback :) I have tried to backport this to the relbranch in https://trac.osgeo.org/grass/changeset/66250 but still no luck. What am I missing to see other ma

Re: [GRASS-dev] TGRASS: mapset management question

2015-09-15 Thread Vaclav Petras
On Tue, Sep 15, 2015 at 3:06 AM, Sören Gebbert wrote: > > However, the warning about mapset access is generated in > "lib/temporal/lib/connect.c" which checks the output of > G_mapset_permissions2. I will remove this check > since only the owner is checked, not access permissions. Be aware of the

Re: [GRASS-dev] TGRASS: mapset management question

2015-09-15 Thread Sören Gebbert
Hi 2015-09-14 23:51 GMT+02:00 Vaclav Petras : > > On Mon, Sep 14, 2015 at 4:53 PM, Markus Neteler wrote: >> >> >> If the point of using that env var is to simply suppress the warning >> in the upper case, then maybe G_suppress_warnings(1) is better? >> Something like >> >> Index: lib/python/tempo

Re: [GRASS-dev] TGRASS: mapset management question

2015-09-14 Thread Vaclav Petras
On Mon, Sep 14, 2015 at 4:53 PM, Markus Neteler wrote: > > > If the point of using that env var is to simply suppress the warning > in the upper case, then maybe G_suppress_warnings(1) is better? > Something like > > Index: lib/python/temporal/c_libraries_interface.py > ===

Re: [GRASS-dev] TGRASS: mapset management question

2015-09-14 Thread Markus Neteler
Hi Soeren, thanks for fixes r66205 + r66206, now I get at least "some" feedback :) GRASS 7.1.svn (eu_laea):~ > t.list WARNING: You don't have permission to access the mapset WARNING: You don't have permission to access the mapset --

[GRASS-dev] TGRASS: mapset management question

2015-09-12 Thread Markus Neteler
Hi again, I am trying to understand if there is a way to use a TGIS DB from another mapset in the same location. (yes I am aware of the original PERMANENT-takes-it-all implementation but that was against the file handling architecture of the rest of GRASS GIS) Rationale: I have a mapset with 20k