Changes between Version 46 and Version 47 of S3/S3REST/s3_rest_controller


Ignore:
Timestamp:
10/28/10 09:03:55 (11 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3REST/s3_rest_controller

    v46 v47  
    6868
    6969where "key" must be the respective key as ''string''.
     70
     71=== CRUD Options ===
     72
     73You can define which of the CRUD functions are allowed for your resource. By default, they are all True.
     74
     75{{{
     76  s3xrc.mode.configure(table, editable=True,             # Records can be updated
     77                              insertable=True,           # New records can be added
     78                              deletable=True,            # Records can be deleted
     79                              listadd=True)              # to have a add-record form in list view
     80}}}
     81
     82Note:
     83  - these settings are completely independent from the user's permission to perform the respective actions. If you have set {{{insertable=False}}}, then adding records to this table will be impossible even if the user has the permission to add records.
     84  - in standard views, the add-form in list views is hidden and can be activated by clicking the respective "Add Record" button. If {{{listadd=False}}}, then the "Add Record" button will redirect to the create-form view instead.
     85  - these settings do not effect non-interactive representations
     86
    7087=== Redirection ===
    7188