Subversion-Projekte lars-tiefland.webanos.marine-sales.de

Revision

Revision 152 | Revision 155 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 152 Revision 153
Zeile 9... Zeile 9...
9
    /**
9
    /**
10
     * Determine if the user is authorized to make this request.
10
     * Determine if the user is authorized to make this request.
11
     *
11
     *
12
     * @return bool
12
     * @return bool
13
     */
13
     */
14
    public function authorize()
14
    public function authorize(): bool
15
    {
15
    {
16
        if ( isset( $GLOBALS["user_rechte"]["bestellwesen"]["lieferanten"] ) )
16
        if ( isset( $GLOBALS["user_rechte"]["bestellwesen"]["lieferanten"] ) )
17
        {
17
        {
18
            return true;
18
            return true;
19
        }
19
        }
Zeile 23... Zeile 23...
23
    /**
23
    /**
24
     * Get the validation rules that apply to the request.
24
     * Get the validation rules that apply to the request.
25
     *
25
     *
26
     * @return array<string, mixed>
26
     * @return array<string, mixed>
27
     */
27
     */
28
    public function rules()
28
    public function rules(): array
29
    {
29
    {
30
        return [
30
        return [
31
            //
31
            //
32
        ];
32
        ];
33
    }
33
    }