/dports/mail/cyrus-imapd32/cyrus-imapd-3.2.8/imap/ |
H A D | jmap_contact.c | 948 int needrights = do_move ? in _contacts_set() local 951 if (!jmap_hasrights_byname(req, cdata->dav.mailbox, needrights)) { in _contacts_set() 3837 int needrights = 0; in required_set_rights() local 3850 needrights |= DACL_PROPRSRC; in required_set_rights() 3854 needrights |= DACL_PROPCOL; in required_set_rights() 3858 needrights |= DACL_WRITECONT | DACL_RMRSRC; in required_set_rights() 3862 return needrights; in required_set_rights() 3924 int needrights = required_set_rights(jcard); in _contact_set_create() local 3927 if (!jmap_hasrights_byname(req, mboxname, needrights)) { in _contact_set_create()
|
H A D | jmap_calendar.c | 2569 int needrights = DACL_WRITEPROPS|DACL_WRITECONT; in setcalendarevents_create() local 2627 if (!jmap_hasrights_byname(req, mboxname, needrights)) { in setcalendarevents_create() 3104 int needrights = DACL_RMRSRC|DACL_WRITEPROPS|DACL_WRITECONT; in setcalendarevents_update() local 3150 if (!jmap_hasrights_byname(req, mboxname, needrights)) { in setcalendarevents_update() 3203 if (!jmap_hasrights_byname(req, dstmboxname, needrights)) { in setcalendarevents_update() 3298 int needrights = DACL_RMRSRC; in setcalendarevents_destroy() local 3344 if (!jmap_hasrights_byname(req, mboxname, needrights)) { in setcalendarevents_destroy()
|
H A D | jmap_mail.c | 1097 static int needrights = ACL_READ|ACL_LOOKUP; in _email_mailboxes_cb() local 5004 static int needrights = ACL_READ|ACL_LOOKUP; in _thread_is_shared_cb() local 10165 int needrights; /* Required ACL bits set */ member 10463 plan->needrights |= ACL_INSERT; in _email_bulkupdate_plan_mailboxids() 10732 plan->needrights |= ACL_SETSEEN; in _email_bulkupdate_plan_keywords() 10734 plan->needrights |= ACL_WRITE; in _email_bulkupdate_plan_keywords() 10771 plan->needrights |= ACL_SETSEEN; in _email_bulkupdate_plan_keywords() 10773 plan->needrights |= ACL_WRITE; in _email_bulkupdate_plan_keywords() 11851 int needrights = ACL_INSERT|ACL_ANNOTATEMSG; in msgimport_checkacl_cb() local 11852 if (!jmap_hasrights(req, mbentry, needrights)) in msgimport_checkacl_cb() [all …]
|
H A D | jmap_mailbox.c | 193 int needrights = ACL_LOOKUP|ACL_READ; in _shared_mboxes_cb() local 195 if (jmap_hasrights(sm->req, mbentry, needrights)) in _shared_mboxes_cb()
|
H A D | http_dav.c | 4845 int ret = HTTP_NO_CONTENT, r = 0, precond, rights, needrights; in meth_delete() local 4949 needrights = txn->req_tgt.resource ? DACL_RMRSRC : DACL_RMCOL; in meth_delete() 4950 if (!(rights & needrights)) { in meth_delete() 4954 txn->error.rights = needrights; in meth_delete()
|
H A D | index.c | 3833 static const int needrights = ACL_READ|ACL_LOOKUP; in fetch_mailbox_cb() local 3856 if ((myrights & needrights) != needrights) in fetch_mailbox_cb()
|
/dports/mail/cyrus-imapd34/cyrus-imapd-3.4.2/imap/ |
H A D | jmap_contact.c | 980 int needrights = do_move ? JACL_UPDATEITEMS : required_set_rights(arg); in _contacts_set() local 982 if (!jmap_hasrights(req, cdata->dav.mailbox, needrights)) { in _contacts_set() 3880 int needrights = 0; in required_set_rights() local 3893 needrights |= JACL_SETPROPERTIES; in required_set_rights() 3897 needrights |= JACL_SETKEYWORDS; in required_set_rights() 3901 needrights |= JACL_UPDATEITEMS; in required_set_rights() 3905 return needrights; in required_set_rights() 3967 int needrights = required_set_rights(jcard); in _contact_set_create() local 3970 if (!jmap_hasrights(req, mboxname, needrights)) { in _contact_set_create()
|
H A D | jmap_calendar.c | 2633 int needrights = JACL_ADDITEMS|JACL_SETMETADATA; in setcalendarevents_create() local 2691 if (!jmap_hasrights(req, mboxname, needrights)) { in setcalendarevents_create() 3134 int needrights = JACL_UPDATEITEMS|JACL_SETMETADATA; in setcalendarevents_update() local 3180 if (!jmap_hasrights(req, mboxname, needrights)) { in setcalendarevents_update() 3233 if (!jmap_hasrights(req, dstmboxname, needrights)) { in setcalendarevents_update() 3328 int needrights = JACL_REMOVEITEMS; in setcalendarevents_destroy() local 3374 if (!jmap_hasrights(req, mboxname, needrights)) { in setcalendarevents_destroy()
|
H A D | jmap_mail.c | 996 static int needrights = JACL_READITEMS; in _email_mailboxes_cb() local 997 if (!jmap_hasrights(req, rec->mboxname, needrights)) in _email_mailboxes_cb() 5323 static int needrights = JACL_READITEMS; in _thread_get_cb() local 10518 int needrights; /* Required ACL bits set */ member 10663 plan->needrights |= JACL_REMOVEITEMS; in _email_bulkupdate_plan_mailboxids() 10736 plan->needrights |= JACL_REMOVEITEMS; in _email_bulkupdate_plan_mailboxids() 10816 plan->needrights |= JACL_ADDITEMS; in _email_bulkupdate_plan_mailboxids() 11085 plan->needrights |= JACL_SETSEEN; in _email_bulkupdate_plan_keywords() 11124 plan->needrights |= JACL_SETSEEN; in _email_bulkupdate_plan_keywords() 11126 plan->needrights |= JACL_SETKEYWORDS; in _email_bulkupdate_plan_keywords() [all …]
|
H A D | http_dav.c | 4842 int ret = HTTP_NO_CONTENT, r = 0, precond, rights, needrights; in meth_delete_collection() local 4933 needrights = DACL_RMCOL; in meth_delete_collection() 4934 if (!(rights & needrights)) { in meth_delete_collection() 4938 txn->error.rights = needrights; in meth_delete_collection() 5045 int ret = HTTP_NO_CONTENT, r = 0, precond, rights, needrights; in meth_delete_resource() local 5056 needrights = DACL_RMRSRC; in meth_delete_resource() 5057 if (!(rights & needrights)) { in meth_delete_resource() 5061 txn->error.rights = needrights; in meth_delete_resource()
|
H A D | jmap_mailbox.c | 195 int needrights = JACL_READITEMS; in _shared_mboxes_cb() local 197 if (jmap_hasrights_mbentry(sm->req, mbentry, needrights)) in _shared_mboxes_cb()
|
H A D | index.c | 3903 static const int needrights = ACL_READ|ACL_LOOKUP; in fetch_mailbox_cb() local 3926 if ((myrights & needrights) != needrights) in fetch_mailbox_cb()
|
/dports/mail/cyrus-imapd30/cyrus-imapd-3.0.16/imap/ |
H A D | http_dav.c | 4325 int ret = HTTP_NO_CONTENT, r = 0, precond, rights, needrights; in meth_delete() local 4430 needrights = txn->req_tgt.resource ? DACL_RMRES : DACL_RMCOL; in meth_delete() 4431 if (!(rights & needrights)) { in meth_delete() 4435 txn->error.rights = needrights; in meth_delete()
|