mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 08:20:16 +00:00
Windows: Freelance HaveAccessRights
Change the test in cm_HaveAccessRights related to Freelance mode. All objects in the freelance cell and root volume by definition have access rights. Change-Id: Ibb96b12c15728bc6b711b3d7f2ad892c55109cbf Reviewed-on: http://gerrit.openafs.org/7008 Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com> Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
This commit is contained in:
parent
9a76279ef1
commit
b84496b859
@ -78,7 +78,9 @@ int cm_HaveAccessRights(struct cm_scache *scp, struct cm_user *userp, cm_req_t *
|
||||
* and can definitively answer.
|
||||
*/
|
||||
#ifdef AFS_FREELANCE_CLIENT
|
||||
if (cm_freelanceEnabled && aclScp == cm_data.rootSCachep)
|
||||
if (cm_freelanceEnabled &&
|
||||
aclScp->fid.cell==AFS_FAKE_ROOT_CELL_ID &&
|
||||
aclScp->fid.volume==AFS_FAKE_ROOT_VOL_ID)
|
||||
{
|
||||
*outRightsp = aclScp->anyAccess;
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user