On Fri, May 29, 2009 at 5:45 AM, will0 <[email protected]> wrote:
> > Dear All, > > Take two models - "Contact" which has a many to many relationship with > "MailList" (defined on MailList). > > When a user who only has permissions to delete from Contact attempts > to delete any contact, whether or not they're in a mail list, they get > a permission denied message. > """ > Deleting the contact 'Mr B Hind' would result in deleting related > objects, but your account doesn't have permission to delete the > following types of objects: * mail list > """ > > Fair enough if they're in a mail list, but if they're not and there's > nothing to delete, shouldn't the permissions be ignored? > Are you sure? The code appears to be written to only issue that message when it's actually determined that a related object of that type needs to be deleted. What happens if you give the user permission to delete that? Then you will be shown a please confirm message with a list of things that will be deleted -- perhaps that will shed some light on what's going on? Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

