You are here

function file_service_save_access in Services 6.2

Same name and namespace in other branches
  1. 7 services/file_service/file_service.inc \file_service_save_access()

Check if the user has permission to save file information.

Will probably want to revisit this down the road to make it somewhat tougher, esp if we get to the point where we're saving actual files (see below.)

1 string reference to 'file_service_save_access'
file_service_service in services/file_service/file_service.module
Implementation of hook_service().

File

services/file_service/file_service.inc, line 37
Link general file functionalities to services module.

Code

function file_service_save_access() {
  return user_access('save file information');
}