1998-12-10 16:25:48 +00:00
|
|
|
#ifndef __POSTMAN_H
|
|
|
|
#define __POSTMAN_H
|
|
|
|
|
|
|
|
#ifndef __RELATION_H
|
2004-06-24 10:50:24 +00:00
|
|
|
#include <relation.h>
|
1998-12-10 16:25:48 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// Mail management
|
|
|
|
bool can_dispatch_transaction(const TRectype& rec);
|
|
|
|
bool dispatch_transaction(const TRectype& rec, const TFilename& ini);
|
|
|
|
|
|
|
|
// Permission management
|
|
|
|
const char* get_user_filter(const char* flt);
|
|
|
|
const char* get_user_read_filter();
|
|
|
|
const char* get_user_write_filter();
|
|
|
|
|
|
|
|
bool user_can_read(const TRelation* rel);
|
|
|
|
bool user_can_write(const TRelation* rel);
|
2004-06-24 10:50:24 +00:00
|
|
|
bool user_can_delete(const TRelation* rel);
|
|
|
|
bool user_can_do(const char* azione, const TRelation* rel);
|
1998-12-10 16:25:48 +00:00
|
|
|
|
1999-05-24 13:34:11 +00:00
|
|
|
#endif
|
1999-07-21 09:18:16 +00:00
|
|
|
|