This file is indexed.

/usr/share/doc/rt4-doc-html/RT/System.html is in rt4-doc-html 4.4.2-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<ul id="index">
  <li><a href="#NAME">NAME</a></li>
  <li><a href="#DESCRIPTION">DESCRIPTION</a>
    <ul>
      <li><a href="#AvailableRights">AvailableRights</a></li>
      <li><a href="#RightCategories">RightCategories</a></li>
      <li><a href="#id">id</a></li>
      <li><a href="#Load">Load</a></li>
      <li><a href="#QueueCacheNeedsUpdate-1">QueueCacheNeedsUpdate ( 1 )</a></li>
      <li><a href="#CustomRoleCacheNeedsUpdate-1">CustomRoleCacheNeedsUpdate ( 1 )</a></li>
      <li><a href="#AddUpgradeHistory-package-data">AddUpgradeHistory package, data</a></li>
      <li><a href="#UpgradeHistory-package">UpgradeHistory [package]</a></li>
      <li><a href="#ExternalStorage">ExternalStorage</a></li>
      <li><a href="#ExternalStorageURLFor-object">ExternalStorageURLFor object</a></li>
    </ul>
  </li>
</ul>

<h1 id="NAME"><a href="#___top">NAME</a></h1>

<p>RT::System</p>

<h1 id="DESCRIPTION"><a href="#___top">DESCRIPTION</a></h1>

<p>RT::System is a simple global object used as a focal point for things that are system-wide.</p>

<p>It works sort of like an RT::Record, except it&#39;s really a single object that has an id of &quot;1&quot; when instantiated.</p>

<p>This gets used by the ACL system so that you can have rights for the scope &quot;RT::System&quot;</p>

<p>In the future, there will probably be other API goodness encapsulated here.</p>

<h2 id="AvailableRights"><a href="#___top">AvailableRights</a></h2>

<p>Returns a hashref of available rights for this object. The keys are the right names and the values are a description of what the rights do.</p>

<p>This method as well returns rights of other RT objects, like <a href="../RT/Queue.html">RT::Queue</a> or <a href="../RT/Group.html">RT::Group</a>, to allow users to apply those rights globally.</p>

<p>If an <a href="../RT/Principal.html">RT::Principal</a> is passed as the first argument, the available rights will be limited to ones which make sense for the principal. Currently only role groups are supported and rights announced by object types to which the role group doesn&#39;t apply are not returned.</p>

<h2 id="RightCategories"><a href="#___top">RightCategories</a></h2>

<p>Returns a hashref where the keys are rights for this type of object and the values are the category (General, Staff, Admin) the right falls into.</p>

<h2 id="id"><a href="#___top">id</a></h2>

<p>Returns RT::System&#39;s id. It&#39;s 1.</p>

<h2 id="Load"><a href="#___top">Load</a></h2>

<p>Since this object is pretending to be an RT::Record, we need a load method. It does nothing</p>

<h2 id="QueueCacheNeedsUpdate-1"><a href="#___top">QueueCacheNeedsUpdate ( 1 )</a></h2>

<p>Attribute to decide when SelectQueue needs to flush the list of queues and retrieve new ones. Set when queues are created, enabled/disabled and on certain acl changes. Should also better understand group management.</p>

<p>If passed a true value, will update the attribute to be the current time.</p>

<h2 id="CustomRoleCacheNeedsUpdate-1"><a href="#___top">CustomRoleCacheNeedsUpdate ( 1 )</a></h2>

<p>Attribute to decide when we need to flush the list of custom roles and re-register any changes. Set when roles are created, enabled/disabled, etc.</p>

<p>If passed a true value, will update the attribute to be the current time.</p>

<h2 id="AddUpgradeHistory-package-data"><a href="#___top">AddUpgradeHistory package, data</a></h2>

<p>Adds an entry to the upgrade history database. The package can be either <code>RT</code> for core RT upgrades, or the fully qualified name of a plugin. The data must be a hash reference.</p>

<h2 id="UpgradeHistory-package"><a href="#___top">UpgradeHistory [package]</a></h2>

<p>Returns the entries of RT&#39;s upgrade history. If a package is specified, the list of upgrades for that package will be returned. Otherwise a hash reference of <code>package =&gt; [upgrades]</code> will be returned.</p>

<h2 id="ExternalStorage"><a href="#___top">ExternalStorage</a></h2>

<p>Accessor for the storage engine selected by <a href="../RT/ExternalStorage.html">RT::ExternalStorage</a>. Will be undefined if external storage is not configured.</p>

<h2 id="ExternalStorageURLFor-object"><a href="#___top">ExternalStorageURLFor object</a></h2>

<p>Returns a URL for direct linking to an <a href="../RT/ExternalStorage.html">RT::ExternalStorage</a> engine. Will return <code>undef</code> if external storage is not configured, or if direct linking is disabled in config (<code>$ExternalStorageDirectLink</code>), or if the external storage engine doesn&#39;t support hyperlinking (as in <a href="../RT/ExternalStorage/Disk.html">RT::ExternalStorage::Disk</a>), or finally, if the object is for whatever reason not present in external storage.</p>

<a href="./../">&larr; Back to index</a>