Hi
I’ve seen, that in rt-3.4.5, every user, who will create, update or
delete SavedSearch, must have the right ‘ModifySelf’. The following
diff, fixes this problem.
— /opt/rt3/lib/RT/Attribute_Overlay.pm 2005-02-01
15:20:40.000000000 +0100
+++ /opt/rt3/local/lib/RT/Attribute_Overlay.pm 2006-10-29
12:53:03.000000000 +0100
@@ -72,14 +72,24 @@
There are a number of attributes that users should be able to modify
for themselves, such as saved searches
we could do this with a different set of “modify” rights, but that
gets very hacky very fast. this is even faster and even
hackier. we’re hardcoding that a different set of rights are needed
for attributes on oneself
-our $PERSONAL_ACL_MAP = {
- SavedSearch => { create => ‘ModifySelf’,
-
update => 'ModifySelf',
-
delete => 'ModifySelf',
-
display => 'allow' },
+our $PERSONAL_ACL_MAP = {
- SavedSearch => { create => ‘CreateSavedSearch’,
-
update => 'EditSavedSearches',
-
delete => 'EditSavedSearches',
-
display => 'LoadSavedSearch' },
};
Now my question: is there a specific reason, why users must have
ModifySelf-Rights when they want to create SavedSearches?
Thanks
Michael Peer
Right. The idea is that for personal searches, you don’t need to give
the user the global right to do those things to all saved searches.On Sun, Oct 29, 2006 at 01:36:22PM +0100, Peer Michael wrote:
Hi
I’ve seen, that in rt-3.4.5, every user, who will create, update or
delete SavedSearch, must have the right ‘ModifySelf’. The following
diff, fixes this problem.
— /opt/rt3/lib/RT/Attribute_Overlay.pm 2005-02-01
15:20:40.000000000 +0100
+++ /opt/rt3/local/lib/RT/Attribute_Overlay.pm 2006-10-29
12:53:03.000000000 +0100
@@ -72,14 +72,24 @@
There are a number of attributes that users should be able to modify
for themselves, such as saved searches
we could do this with a different set of “modify” rights, but that
gets very hacky very fast. this is even faster and even
hackier. we’re hardcoding that a different set of rights are needed
for attributes on oneself
-our $PERSONAL_ACL_MAP = {
- SavedSearch => { create => ‘ModifySelf’,
-
update => 'ModifySelf',
-
delete => 'ModifySelf',
-
display => 'allow' },
+our $PERSONAL_ACL_MAP = {
- SavedSearch => { create => ‘CreateSavedSearch’,
-
update => 'EditSavedSearches',
-
delete => 'EditSavedSearches',
-
display => 'LoadSavedSearch' },
};
Now my question: is there a specific reason, why users must have
ModifySelf-Rights when they want to create SavedSearches?
Thanks
Michael Peer
Is is possible to put saved searches on the front page? Either as a link
to the search or as an execution of that search? Preferably on a user or
group basis.
I might hack it if someone hasn’t already done so.
Cheers!
Rick
Rick Measham wrote:
Is is possible to put saved searches on the front page? Either as a link
to the search or as an execution of that search? Preferably on a user or
group basis.
I might hack it if someone hasn’t already done so.
As I recall Jesse said that work in progress(may be it’s in 3.4.x).
Users didn’t contribute anything about this, but check HEAD.
Cheers!
Rick
Regards, Ruslan.
Manage your RT changes with SVK and life would be easy.