[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: accesslevel 'submit'
From: |
Pankaj K Garg |
Subject: |
RE: accesslevel 'submit' |
Date: |
Tue, 15 Apr 2003 16:42:50 -0700 |
It seems that you've hit a limitation of gnatsweb.
Browsing through the code, I came across the following
on lines 3334-3341:
# check access level. if < view, make them log in again.
# it might be better to allow "create-only" access for users
# with 'submit' access.
if ($LEVEL_TO_CODE{$access_level} < $LEVEL_TO_CODE{'view'}) {
login_page(undef, "You do not have access to database:
$global_prefs{'database'}.<br />\nPlease log in to another database<br /><br
/>\n");
undef($suppress_client_exit);
client_exit();
}
As you can see from the comments, it seems gnatsweb currently cannot
handle any access level less than 'view'. If this is really important
to you, I can schedule some time to work on this.
Pankaj
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden Behalf Of
> Christian
> Guse
> Sent: Monday, April 14, 2003 4:41 AM
> To: address@hidden
> Subject: accesslevel 'submit'
>
>
> Hi,
> for the configuration of our GNATS-support site I need an
> accesslevel that
> allows users to submit/create PR's without any further access
> e.g. view.
> Looking in the gnatsweb.pl I found an existing accesslevel
> submit, which is
> also in gnatsd.h, but not listed in the documentation or in any
> configuration file. I than just tried to give someone
> accesslevel 'submit',
> but got the message "You do not have access to database: default.
> Please log in to another database". when trying to login to
> gnatsweb. (In
> the titel Access:submit is displayed) I hope anybody of you
> can help me.
> Thanks a lot
> Bye
> Christian Guse
> ESE GmbH
>
>
>
>
> _______________________________________________
> Help-gnats mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-gnats
>