Project

General

Profile

« Previous | Next » 

Revision af31b277

Added by Jim Pingle almost 15 years ago

Give users who have "all" privileges shell access. Part of ticket #614

View differences:

etc/inc/auth.inc
253 253
		mkdir($user_home, 0755);
254 254

  
255 255
	/* configure shell type */
256
	if (!userHasPrivilege($user, "user-shell-access")) {
256
	if (!(userHasPrivilege($user, "user-shell-access") || userHasPrivilege($user, "page-all"))) {
257 257
		if (!userHasPrivilege($user, "user-copy-files"))
258 258
			$user_shell = "/sbin/nologin";
259 259
		else

Also available in: Unified diff