On occasion I like to use the Random Node to find ..well... a random node. However I've found that a number of times the node that is picked is a node I do not have access to. Wouldn't it make sense to check to see if the user will have access first before bringing them to the node?

Replies are listed 'Best First'.
Re: Random node improvement suggestion
by blakem (Monsignor) on Dec 01, 2001 at 03:44 UTC
    You could check out my attempt to solve a similiar problem I'd be willing to tweak that code to deal with permission issues....

    Update: I just checked, the current code I'm using for randomnode.pl already does filter out 'Permission Denied' nodes...

    -Blake

Re: Random node improvement suggestion
by tune (Curate) on Dec 01, 2001 at 21:31 UTC
    The same happens on Search/Supersearch too. Maybe this filter could be applicable there too.

    --
    tune