From the NannyMUD documentation

LAST CHANGE

2002-09-26

NAME

        acl_functions - utility functions for the ACL system.

INHERITS

        This object inherits nothing.

LOCATION

        /obj/acl_functions.c

AVAILABILITY

        Any object can use this.

FUNCTIONS

QUERY FUNCTIONS

        acl_allows_all
        acl_allows_p
        acl_allows_d
        acl_allows_a
        acl_allows_l
        acl_allows_u
        acl_allows_r
        acl_allows_w
        acl_allows_x

DESCRIPTION

        This object provides a set of convenient functions for
        checking access to file system objects (FSO). The access is
        on a per-object basis; thus you should inherit this object and
        call the functions directly.

SEE ALSO

        acl in wizinfo/acl

FUNCTION


NAME

        acl_allows_all - Check ACL rights ALL on path.

SYNTAX

        int acl_allows_all(string path)

DESCRIPTION

        This function tells if the current object has the ACL ALL
        rights on the file system object 'path'.

        The function returns:

        1  The current object has the ACL rights on the FSO.
        0  The current object has NOT the ACL rights on the FSO.

SEE ALSO

        acl_allows_p in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_d in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_a in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_l in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_u in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_r in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_w in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_x in efun/disc_related/acl_functions

FUNCTION


NAME

        acl_allows_p - Check ACL rights P on path.

SYNTAX

        int acl_allows_p(string path)

DESCRIPTION

        This function tells if the current object has the ACL P
        rights on the file system object 'path'.

        The function returns:

        1  The current object has the ACL rights on the FSO.
        0  The current object has NOT the ACL rights on the FSO.

SEE ALSO

        acl_allows_all in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_d in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_a in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_l in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_u in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_r in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_w in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_x in efun/disc_related/acl_functions

FUNCTION


NAME

        acl_allows_d - Check ACL rights D on path.

SYNTAX

        int acl_allows_d(string path)

DESCRIPTION

        This function tells if the current object has the ACL D
        rights on the file system object 'path'.

        The function returns:

        1  The current object has the ACL rights on the FSO.
        0  The current object has NOT the ACL rights on the FSO.

SEE ALSO

        acl_allows_all in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_p in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_a in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_l in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_u in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_r in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_w in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_x in efun/disc_related/acl_functions

FUNCTION


NAME

        acl_allows_a - Check ACL rights A on path.

SYNTAX

        int acl_allows_a(string path)

DESCRIPTION

        This function tells if the current object has the ACL A
        rights on the file system object 'path'.

        The function returns:

        1  The current object has the ACL rights on the FSO.
        0  The current object has NOT the ACL rights on the FSO.

SEE ALSO

        acl_allows_all in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_p in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_d in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_a in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_l in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_u in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_r in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_w in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_x in efun/disc_related/acl_functions

FUNCTION


NAME

        acl_allows_l - Check ACL rights L on path.

SYNTAX

        int acl_allows_l(string path)

DESCRIPTION

        This function tells if the current object has the ACL L
        rights on the file system object 'path'.

        The function returns:

        1  The current object has the ACL rights on the FSO.
        0  The current object has NOT the ACL rights on the FSO.

SEE ALSO

        acl_allows_all in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_p in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_d in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_a in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_u in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_r in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_w in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_x in efun/disc_related/acl_functions

FUNCTION


NAME

        acl_allows_u - Check ACL rights U on path.

SYNTAX

        int acl_allows_u(string path)

DESCRIPTION

        This function tells if the current object has the ACL U
        rights on the file system object 'path'.

        The function returns:

        1  The current object has the ACL rights on the FSO.
        0  The current object has NOT the ACL rights on the FSO.

SEE ALSO

        acl_allows_all in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_p in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_d in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_a in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_l in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_r in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_w in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_x in efun/disc_related/acl_functions

FUNCTION


NAME

        acl_allows_r - Check ACL rights R on path.

SYNTAX

        int acl_allows_r(string path)

DESCRIPTION

        This function tells if the current object has the ACL R
        rights on the file system object 'path'.

        The function returns:

        1  The current object has the ACL rights on the FSO.
        0  The current object has NOT the ACL rights on the FSO.

SEE ALSO

        acl_allows_all in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_p in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_d in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_a in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_l in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_u in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_w in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_x in efun/disc_related/acl_functions

FUNCTION


NAME

        acl_allows_w - Check ACL rights W on path.

SYNTAX

        int acl_allows_w(string path)

DESCRIPTION

        This function tells if the current object has the ACL W
        rights on the file system object 'path'.

        The function returns:

        1  The current object has the ACL rights on the FSO.
        0  The current object has NOT the ACL rights on the FSO.

SEE ALSO

        acl_allows_all in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_p in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_d in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_a in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_l in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_u in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_r in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_x in efun/disc_related/acl_functions

FUNCTION


NAME

        acl_allows_x - Check ACL rights X on path.

SYNTAX

        int acl_allows_x(string path)

DESCRIPTION

        This function tells if the current object has the ACL X
        rights on the file system object 'path'.

        The function returns:

        1  The current object has the ACL rights on the FSO.
        0  The current object has NOT the ACL rights on the FSO.

SEE ALSO

        acl_allows_all in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_p in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_d in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_a in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_l in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_u in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_r in efun/disc_related/acl_functions

SEE ALSO

        acl_allows_w in efun/disc_related/acl_functions