Merge pull request #13078 from agh1/contactdetail-no-or2
[civicrm-core.git] / CRM / Core / Permission / Soap.php
CommitLineData
40d837df
CW
1<?php
2/*
3 +--------------------------------------------------------------------+
bc77d7c0 4 | Copyright CiviCRM LLC. All rights reserved. |
40d837df 5 | |
bc77d7c0
TO
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
40d837df 9 +--------------------------------------------------------------------+
d25dd0ee 10 */
40d837df
CW
11
12/**
13 *
14 * @package CRM
ca5cec67 15 * @copyright CiviCRM LLC https://civicrm.org/licensing
40d837df
CW
16 * $Id$
17 *
18 */
19
20/**
21 *
22 */
23class CRM_Core_Permission_Soap extends CRM_Core_Permission_Base {
24
25 /**
100fef9d 26 * Given a permission string, check for access requirements
40d837df 27 *
6a0b768e
TO
28 * @param string $str
29 * The permission to check.
18be3201 30 * @param int $userId
40d837df 31 *
87a890cc 32 * @return bool
a6c01b45 33 * true if yes, else false
40d837df 34 */
18be3201 35 public function check($str, $userId = NULL) {
40d837df
CW
36 return TRUE;
37 }
96025800 38
40d837df 39}