Opened 8 years ago

Closed 8 years ago

#1878 closed defect (fixed)

Unable to create new Wiki page

Reported by: Mateusz Łoskot Owned by: sac@…
Priority: normal Milestone:
Component: SysAdmin Keywords: wiki
Cc: rouault

Description

I'm logged in to GDAL Trac.

I'm trying to create new page by editing the URL to access non-existing Wiki page, namely:

https://trac.osgeo.org/gdal/wiki/GeneratingVisualStudioProject

I expect to see a button to confirm I want to create/edit the new page.

Instead, I get this error:

Trac Error

Page GeneratingVisualStudioProject not found

Change History (8)

comment:1 by strk, 8 years ago

Does it happen with all trac instances ? I do see a create button [here](https://trac.osgeo.org/osgeo/wiki/Test), for example, do you ?

Does the error page you see give you any information about your login status ? (as I've seen reports about missing cookies).

comment:2 by Mateusz Łoskot, 8 years ago

Yes, I see the button on at least two instances, OSGeo and GEOS I'm member a Trac admin on both.

On GDAL Trac, I'm not member of admins.

comment:3 by strk, 8 years ago

Is there any other trac instance where you can create wiki pages while not being admin ?

comment:4 by Mateusz Łoskot, 8 years ago

Yes, there is PostGIS

comment:5 by strk, 8 years ago

Sorry, looking at permissions for GDAL I indeed see that wiki creation is not granted to authenticated users.

Here are the perms:

trac_gdal=# select * from permission where action like 'WIKI%';
   username    |   action
---------------+-------------
 anonymous     | WIKI_VIEW
 developers    | WIKI_ADMIN
 authenticated | WIKI_MODIFY
 sgillies      | WIKI_CREATE
(4 rows)

And you are not in the "developers" group Mateusz:

trac_gdal=# select * from permission where action = 'developers';
  username   |   action
-------------+------------
 dron        | developers
 warmerdam   | developers
 dmorissette | developers
 tamas       | developers
 rouault     | developers
 hobu        | developers
 schwehr     | developers
 jratike80   | developers
(8 rows)

Note that all developers also have TRAC_ADMIN, so ask any of them about the policy.

comment:6 by Mateusz Łoskot, 8 years ago

Sandro, thanks for figuring out.

Even, could you add me to the 'developers' group in Trac, please?

comment:7 by strk, 8 years ago

Since I was at it, I did it, can you check if it works ?

comment:8 by Mateusz Łoskot, 8 years ago

Resolution: fixed
Status: newclosed

It works. Thanks Sandro!

Note: See TracTickets for help on using tickets.