<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=CustomFieldRightsWithoutSeeQueue</id>
	<title>CustomFieldRightsWithoutSeeQueue - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=CustomFieldRightsWithoutSeeQueue"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CustomFieldRightsWithoutSeeQueue&amp;action=history"/>
	<updated>2026-08-21T21:27:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CustomFieldRightsWithoutSeeQueue&amp;diff=708&amp;oldid=prev</id>
		<title>Admin: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CustomFieldRightsWithoutSeeQueue&amp;diff=708&amp;oldid=prev"/>
		<updated>2016-04-06T20:03:36Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is useful if you have a custom ticket creation form which includes [[CustomField]]s and you want people who have [[CreateTicket]] rights without [[SeeQueue]] rights to be able to create tickets.&lt;br /&gt;
&lt;br /&gt;
In your form, add this:&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;%INIT&amp;amp;gt;&lt;br /&gt;
 my $QueueObj = new RT::Queue( $RT::SystemUser );&lt;br /&gt;
 $QueueObj-&amp;amp;gt;Load($Queue) || Abort(loc(&amp;quot;Queue could not be loaded.&amp;quot;));&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;amp;lt;/%INIT&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 % if (  $session{ &amp;#039;CurrentUser&amp;#039; }-&amp;amp;gt;HasRight( Right =&amp;amp;gt; &amp;#039;CreateTicket&amp;#039;, Object =&amp;amp;gt; $QueueObj ) ) {&lt;br /&gt;
 %     ...&lt;br /&gt;
 % }&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Credit to [[RuslanZakirov]] for this solution.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>