<feed xmlns='http://www.w3.org/2005/Atom'>
<title>scrott/app/class/agent.class.php, branch v0.5</title>
<subtitle>The Secure Centralized Robust Online Ticketing Tool</subtitle>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/'/>
<entry>
<title>Add UI for explicit issue signoff</title>
<updated>2021-10-20T05:15:28+00:00</updated>
<author>
<name>Malfurious</name>
<email>m@lfurio.us</email>
</author>
<published>2021-10-20T05:15:28+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=e88b153336610e18732fbcc1d8ff3ac4e653d080'/>
<id>e88b153336610e18732fbcc1d8ff3ac4e653d080</id>
<content type='text'>
Active issue assignees will now have a button on issues to explicitly
'signoff' their assignment - that is, to affirmatively declare it done.
The use of this new action will allow assignees to signoff without
needing to close the issue as well.  This is useful for multiple
assigned users collaborating on an issue.

Note that if an assignee chooses to close a ticket directly, they are
still automatically signed-off, as before.

To aid this feature, the low-level definition of an 'assigned user' is
updated to exclude users occupying an assignment slot, but which have
already signed-off.

Since the icon representing this action is the same as for closing a
ticket, the buttons enabling these two actions are now color-coded
wherever they appear.

Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Active issue assignees will now have a button on issues to explicitly
'signoff' their assignment - that is, to affirmatively declare it done.
The use of this new action will allow assignees to signoff without
needing to close the issue as well.  This is useful for multiple
assigned users collaborating on an issue.

Note that if an assignee chooses to close a ticket directly, they are
still automatically signed-off, as before.

To aid this feature, the low-level definition of an 'assigned user' is
updated to exclude users occupying an assignment slot, but which have
already signed-off.

Since the icon representing this action is the same as for closing a
ticket, the buttons enabling these two actions are now color-coded
wherever they appear.

Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add function agent::getContainedUsers()</title>
<updated>2018-11-10T14:12:01+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-11-10T14:12:01+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=762208664a9173bc9507a66fbd0c8020e382db88'/>
<id>762208664a9173bc9507a66fbd0c8020e382db88</id>
<content type='text'>
This function helps further abstract agents.  We want to get all users
belonging to a pad that is owned by a group, or more specifically - an
agent.  If this agent is a user, that user is our only user to collect.
If this agent is a group, we want to capture _it's_ owner along with all
of it's members.

Signed-off-by: Malf Furious &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function helps further abstract agents.  We want to get all users
belonging to a pad that is owned by a group, or more specifically - an
agent.  If this agent is a user, that user is our only user to collect.
If this agent is a group, we want to capture _it's_ owner along with all
of it's members.

Signed-off-by: Malf Furious &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
<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>
</feed>
