MantisBT: master 290c1c56

Author Committer Branch Timestamp Parent
vboctor master 2007-09-25 00:25 master 5a1ef341
Changeset

Fixed 0008368: "Access Denied." when trying to attach a tag to an issue I reported.

  • The tag_bug_attach() used to check for "detach" rather than "attach" threshold.
  • Remove some duplicate checking for bug / tag exits.
  • Restructured some error checking to check first for access level then for existence of tags and bugs and the relation between them.
  • The access check for creating tags is currently global, but I changed the access check for attaching/detaching to be dependent on the issue. We probably should only create a tag if the current user has access to attach it to the current issue. This check should be done in the bug_attach rather than the API.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4591 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9

mod - core/tag_api.php Diff File