doc/book/en/B022-schema-definition.en.txt
changeset 171 c7d6a465b951
parent 128 40edb9347b1b
child 229 767ff7f5d5a7
equal deleted inserted replaced
165:c5ff97312b8a 171:c7d6a465b951
   368 (check_perm, has_perm) can indicate that the user is not allowed to create 
   368 (check_perm, has_perm) can indicate that the user is not allowed to create 
   369 this entity but can obtain the permission. 
   369 this entity but can obtain the permission. 
   370 To compensate this problem, it is usually necessary, for such case,
   370 To compensate this problem, it is usually necessary, for such case,
   371 to use an action that reflects the schema permissions but which enables
   371 to use an action that reflects the schema permissions but which enables
   372 to check properly the permissions so that it would show up if necessary.
   372 to check properly the permissions so that it would show up if necessary.
       
   373 
       
   374 
       
   375 Updating your application with your new schema
       
   376 ``````````````````````````````````````````````
       
   377 
       
   378 You have to get a shell on your application ::
       
   379 
       
   380    cubicweb-ctl shell moninstance
       
   381 
       
   382 and type ::
       
   383 
       
   384    add_entity_type('Personne')
       
   385 
       
   386 And restart your application!