<feed xmlns='http://www.w3.org/2005/Atom'>
<title>scrott/app/class/agent.class.php, branch v0.1</title>
<subtitle>The Secure Centralized Robust Online Ticketing Tool</subtitle>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/'/>
<entry>
<title>agent:  Add function isAssignedTo()</title>
<updated>2018-10-22T03:07:10+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-10-22T03:07:10+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=c2d42ce0239c8da0cb9acea922f6dea183196225'/>
<id>c2d42ce0239c8da0cb9acea922f6dea183196225</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>agent:  Fix bug in function canAccess()</title>
<updated>2018-09-24T16:55:21+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-09-24T16:55:21+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=fbb9bcb787287597a0666b9313a4754ed03d242b'/>
<id>fbb9bcb787287597a0666b9313a4754ed03d242b</id>
<content type='text'>
This is probabally more of an oops than a bug, although was causing
unexpected behavior.

When falling back to checking whether the agent has access to the
object's owner, it was wrongly accessing through $this-&gt;owner, rather
than $obj-&gt;owner (which is the function argument).  This was probabally
left over from how this function _used_ to be implemented (you would
call on the object and pass in the user).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is probabally more of an oops than a bug, although was causing
unexpected behavior.

When falling back to checking whether the agent has access to the
object's owner, it was wrongly accessing through $this-&gt;owner, rather
than $obj-&gt;owner (which is the function argument).  This was probabally
left over from how this function _used_ to be implemented (you would
call on the object and pass in the user).
</pre>
</div>
</content>
</entry>
<entry>
<title>Add function agent::getAgentObj()</title>
<updated>2018-09-12T06:53:53+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-09-12T06:53:53+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=11f83706e5774b417f6d8a52786e925bec88fc43'/>
<id>11f83706e5774b417f6d8a52786e925bec88fc43</id>
<content type='text'>
This is basically a constructor for agent.  The actual type returned is
a contrete agent.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is basically a constructor for agent.  The actual type returned is
a contrete agent.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug in agent 'has permission' functions</title>
<updated>2018-07-22T06:43:02+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-07-22T06:43:02+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=6c03cc537c5794a131278583f83477bbd15e0e3e'/>
<id>6c03cc537c5794a131278583f83477bbd15e0e3e</id>
<content type='text'>
The check that this commit adds to each of these functions enables users
with all permissions on themselves.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The check that this commit adds to each of these functions enables users
with all permissions on themselves.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug in function agent::isOwner()</title>
<updated>2018-07-22T06:25:54+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-07-22T06:25:54+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=3eaf6f3b990d86069453b1bda4ed377e67ccf571'/>
<id>3eaf6f3b990d86069453b1bda4ed377e67ccf571</id>
<content type='text'>
If the argument doesn't have an owner, then an access error is thrown
when we try to do -&gt;guid.  Since there is no owner, just return false.
Otherwise, do the comparision as usual.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the argument doesn't have an owner, then an access error is thrown
when we try to do -&gt;guid.  Since there is no owner, just return false.
Otherwise, do the comparision as usual.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update class files to use renamed obj class</title>
<updated>2018-02-08T03:33:19+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-02-08T03:33:19+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=e54418762e279a1d7ca0efb7ed89b95464753ee8'/>
<id>e54418762e279a1d7ca0efb7ed89b95464753ee8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move sendEmail() function into agent class</title>
<updated>2017-06-20T03:57:39+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2017-06-06T16:19:02+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=fed99e2d0938b10018c8264632165aad56bc2561'/>
<id>fed99e2d0938b10018c8264632165aad56bc2561</id>
<content type='text'>
Adding this as an abstract function to class agent.  Since we will only
be sending emails to stored users (and groups) this makes more sense and
allows us to remove this function from the global namespace as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adding this as an abstract function to class agent.  Since we will only
be sending emails to stored users (and groups) this makes more sense and
allows us to remove this function from the global namespace as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add agent function getPads_ordByOwnByName()</title>
<updated>2017-04-10T00:08:05+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2017-04-10T00:08:05+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=cc1f573a276bd5f022831f837bb9c1234df56ad9'/>
<id>cc1f573a276bd5f022831f837bb9c1234df56ad9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add function agent::getDisplayName()</title>
<updated>2017-03-26T08:14:58+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2017-03-26T08:14:58+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=173b002d3f9de83f93fc1a0128febcc44410c3d0'/>
<id>173b002d3f9de83f93fc1a0128febcc44410c3d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add functions for checking user/group permissions</title>
<updated>2017-02-16T05:18:33+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2017-02-16T05:18:33+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=127a6bba72f699816f227164661e7b451a4e7e76'/>
<id>127a6bba72f699816f227164661e7b451a4e7e76</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
