New Rule button missing

View: New views
3 Messages — Rating Filter:   Alert me  

New Rule button missing

by Mariusz Czyz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Versions:
Horde 3.3.3
Imp 4.3.3
Ingo 1.2.1

The 'New Rule' button is missing on the Filters page. Also, when trying
to edit an existing rule this error shows on top of the page: "You are
not allowed to create or edit custom rules." I don't think it's a bug
but rather misconfiguration. However, I've compared this test instance
with our production one and I can't find the culprit.

backends.php
###########

$backends['sieve'] = array(
    'driver' => 'timsieved',
    'preferred' => '127.0.0.1',
    'hordeauth' => true,
    'params' => array(
        // Hostname of the timsieved server
        'hostspec' => '127.0.0.1',
        // Login type of the server
        'logintype' => 'PLAIN',
        // Enable/disable TLS encryption
        'usetls' => false,
        // Port number of the timsieved server
        'port' => 2000,
        // Name of the sieve script
        'scriptname' => 'ingo',
        // The following settings can be used to specify an administration
        // user to update all users' scripts. If you want to use an admin
        // user, you also need to disable 'hordeauth' above. You have to use
        // an admin user if you want to use shared rules.
        // 'username' => 'cyrus',
        // 'password' => '*****',
    ),
    'script' => 'sieve',
    'scriptparams' => array(),
    'shares' => false
);

#############




--
Ingo mailing list - Join the hunt: http://horde.org/bounties/#ingo
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: ingo-unsubscribe@...

Re: New Rule button missing

by Mariusz Czyz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I figured out a way to make the "New Rule" button reappear. It involved
enabling $conf[hooks][permsdenied] under the "Custom Function Hooks" tab
in Horde configuration.

However, I still get the "You are not allowed to create or edit custom
rules." message whenever trying to add or edit a rule.

Why am I not allowed to edit my own rules?


Mariusz Czyz wrote:

> Versions:
> Horde 3.3.3
> Imp 4.3.3
> Ingo 1.2.1
>
> The 'New Rule' button is missing on the Filters page. Also, when
> trying to edit an existing rule this error shows on top of the page:
> "You are not allowed to create or edit custom rules." I don't think
> it's a bug but rather misconfiguration. However, I've compared this
> test instance with our production one and I can't find the culprit.
>
> backends.php
> ###########
>
> $backends['sieve'] = array(
>    'driver' => 'timsieved',
>    'preferred' => '127.0.0.1',
>    'hordeauth' => true,
>    'params' => array(
>        // Hostname of the timsieved server
>        'hostspec' => '127.0.0.1',
>        // Login type of the server
>        'logintype' => 'PLAIN',
>        // Enable/disable TLS encryption
>        'usetls' => false,
>        // Port number of the timsieved server
>        'port' => 2000,
>        // Name of the sieve script
>        'scriptname' => 'ingo',
>        // The following settings can be used to specify an administration
>        // user to update all users' scripts. If you want to use an admin
>        // user, you also need to disable 'hordeauth' above. You have
> to use
>        // an admin user if you want to use shared rules.
>        // 'username' => 'cyrus',
>        // 'password' => '*****',
>    ),
>    'script' => 'sieve',
>    'scriptparams' => array(),
>    'shares' => false
> );
>
> #############
>
>
>
>
> --
> Ingo mailing list - Join the hunt: http://horde.org/bounties/#ingo
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: ingo-unsubscribe@...


--
Keep your information safe! IS will never submit or request any of your
passwords via email.
Avoid scams: Visit
https://startit.artic.edu/kb/security/resp_comp/scams_spyware.html

Mariusz Czyz
Network Administrator
The Art Institute of Chicago
116 South Michigan Avenue
Suite 400
Chicago, Illinois 60603
--
Ingo mailing list - Join the hunt: http://horde.org/bounties/#ingo
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: ingo-unsubscribe@...

Re: New Rule button missing

by Jan Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Because you added permissions for Ingo that prohibit this. Check the  
permissions under Adminstration->Permissions->Ingo

Zitat von Mariusz Czyz <mczyz@...>:

> I figured out a way to make the "New Rule" button reappear. It  
> involved enabling $conf[hooks][permsdenied] under the "Custom  
> Function Hooks" tab in Horde configuration.
>
> However, I still get the "You are not allowed to create or edit  
> custom rules." message whenever trying to add or edit a rule.
>
> Why am I not allowed to edit my own rules?
>
>
> Mariusz Czyz wrote:
>> Versions:
>> Horde 3.3.3
>> Imp 4.3.3
>> Ingo 1.2.1
>>
>> The 'New Rule' button is missing on the Filters page. Also, when  
>> trying to edit an existing rule this error shows on top of the  
>> page: "You are not allowed to create or edit custom rules." I don't  
>> think it's a bug but rather misconfiguration. However, I've  
>> compared this test instance with our production one and I can't  
>> find the culprit.
>>
>> backends.php
>> ###########
>>
>> $backends['sieve'] = array(
>>   'driver' => 'timsieved',
>>   'preferred' => '127.0.0.1',
>>   'hordeauth' => true,
>>   'params' => array(
>>       // Hostname of the timsieved server
>>       'hostspec' => '127.0.0.1',
>>       // Login type of the server
>>       'logintype' => 'PLAIN',
>>       // Enable/disable TLS encryption
>>       'usetls' => false,
>>       // Port number of the timsieved server
>>       'port' => 2000,
>>       // Name of the sieve script
>>       'scriptname' => 'ingo',
>>       // The following settings can be used to specify an administration
>>       // user to update all users' scripts. If you want to use an admin
>>       // user, you also need to disable 'hordeauth' above. You have to use
>>       // an admin user if you want to use shared rules.
>>       // 'username' => 'cyrus',
>>       // 'password' => '*****',
>>   ),
>>   'script' => 'sieve',
>>   'scriptparams' => array(),
>>   'shares' => false
>> );
>>
>> #############
>>
>>
>>
>>
>> --
>> Ingo mailing list - Join the hunt: http://horde.org/bounties/#ingo
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: ingo-unsubscribe@...
>
>
> --
> Keep your information safe! IS will never submit or request any of  
> your passwords via email.
> Avoid scams: Visit  
> https://startit.artic.edu/kb/security/resp_comp/scams_spyware.html
>
> Mariusz Czyz
> Network Administrator
> The Art Institute of Chicago
> 116 South Michigan Avenue
> Suite 400
> Chicago, Illinois 60603
> --
> Ingo mailing list - Join the hunt: http://horde.org/bounties/#ingo
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: ingo-unsubscribe@...
>



Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
Ingo mailing list - Join the hunt: http://horde.org/bounties/#ingo
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: ingo-unsubscribe@...