[GRASS-SVN] r66670 - grass/trunk/lib/temporal/lib

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Oct 30 04:03:11 PDT 2015


Author: neteler
Date: 2015-10-30 04:03:11 -0700 (Fri, 30 Oct 2015)
New Revision: 66670

Modified:
   grass/trunk/lib/temporal/lib/connect.c
Log:
minor comment fix

Modified: grass/trunk/lib/temporal/lib/connect.c
===================================================================
--- grass/trunk/lib/temporal/lib/connect.c	2015-10-30 09:24:43 UTC (rev 66669)
+++ grass/trunk/lib/temporal/lib/connect.c	2015-10-30 11:03:11 UTC (rev 66670)
@@ -99,8 +99,9 @@
     ret = G_mapset_permissions2(gisdbase, location, mapset);
     switch (ret) {
     case 0: /* Check if the mapset exists and user is owner */
-        /* We usppress this warning, since G_mapset_permission does not
-         * check the access privilegs to the mapset of a stranger.
+        /* We suppress this warning, since G_mapset_permission2() does not
+         * properly check the access privileges to the mapset of a different user.
+         * TODO: develop a dedicated G_mapset_permission3() for that
         G_warning(_("You are not the owner of mapset <%s>"),
                       mapset);
         */



More information about the grass-commit mailing list