[Cartoweb-users] Gettting the Edition plugin to work

Oliver Christen oliver.christen at camptocamp.com
Wed Jun 13 03:32:33 EDT 2007


Hi

the roles are declared in client_conf/auth.ini
to be able to use the edition, a role must equal "editor"
see the example files in the demoEdit project

security_view is a keyword and cant be changed. what you can set is its value.
its explained in http://www.cartoweb.org/doc_head/docbook/xhtml/user.security.html
www-data is related to the operating system and is what is used by php or postgres to write data, it has nothing to do with the user and roles withing Cartoweb .

as for the edition interface, I suggest you read the tutorial http://www.cartoweb.org/cwiki/HowToUseTheEdition
If something doesnt work as expected, it is most probably because of a bad installation or configuration.

As for the metadata related to the edition, they are listed there:
http://www.cartoweb.org/doc_head/docbook/xhtml/user.edit.html
most of the metadata are linked to the database, the last one, "edit_attributes", list all the attribute which are recovered from the DB table and transfered to Cartoweb and that you can then set via the edition interface.

regards
Oliver
  ----- Original Message ----- 
  From: Broun Uganda 
  To: cartoweb-users at lists.maptools.org 
  Sent: Tuesday, June 12, 2007 8:45 PM
  Subject: [Cartoweb-users] Gettting the Edition plugin to work


  I have installed Cartoweb and tested it with the different examples it works fine.
  I have even installed postgres and put some maps which i can access. I have two related problems with the edition plugin though because i can not edit points, lines and polygons. They are only displayed.

    1.. where do i define  roles (editor, super user etc) other than the special roles? In the map file how do i specify the security for editing? Can i write "Security_edit" instead of "Security_view" and what is "some_specific parameter"? In a related example sql,  tables are granted to www-data; is that an example of permissions i can set for a user ("www-data")
    2..  It appears to me that not all the tool bar items are implemented or am wrong? How can i move points and lines with the tool bar? I have used the tool items but they don't move and give me an error of null object. If they moved would they take on the new coordinates automatically?
  I guess in short a description of the edit plugin functions related to layers and their metadata would help.
   
  Thank you
  Broun


------------------------------------------------------------------------------
  Make every IM count. Download Windows Live Messenger and join the i'm Initiative now. It's free.   Make it count! 


------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-users mailing list
  Cartoweb-users at lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20070613/85a9ecf8/attachment-0001.html


More information about the Cartoweb-users mailing list