This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of git://github.com/zendframework/zf2
Fixed files permissions
- Loading branch information
Grzegorz Drozd
committed
Feb 28, 2013
76 parents
e625b3b
+
e8926e5
+
5f59463
+
30b6149
+
843dd21
+
6d04042
+
98ed105
+
ea632d6
+
c2c0c90
+
4d8678c
+
b5fe867
+
dd6dd90
+
fe69d86
+
7e4c1bb
+
c718944
+
032f2c6
+
e587c4a
+
afb2df9
+
4ea8d76
+
9dfff7d
+
c88317e
+
2be5985
+
9490459
+
8e68e61
+
85e1f91
+
3cb23c1
+
e33d218
+
b0d3cc2
+
05539b9
+
56091aa
+
c47d6e1
+
dcee015
+
6c132b6
+
7065efb
+
e63c913
+
b34a30f
+
f6898d8
+
9d8ce42
+
b111673
+
18367f4
+
f312673
+
d7f78c7
+
82f434d
+
9355d07
+
9cc8996
+
202d5af
+
4dff9cb
+
8834dfc
+
81b48da
+
480b4d7
+
3ee9c5e
+
b7556e5
+
4c81c23
+
9c8309f
+
35ab5f0
+
df42df9
+
16f6088
+
d32c68c
+
df5b9c3
+
1936d7e
+
c478319
+
9fafd09
+
e102ab1
+
a90bdee
+
2f9fa9f
+
aad5075
+
4127f0d
+
eda7358
+
25538ec
+
ff2c116
+
ee7f5d8
+
60fd2f8
+
33976d4
+
446a94e
+
fbb88bb
+
78a9131
commit 71d7e50
Showing
12 changed files
with
55 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?php | ||
/** | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
*/ | ||
|
||
namespace Zend\Permissions\Acl; | ||
|
||
interface AclInterface | ||
{ | ||
/** | ||
* Returns true if and only if the Resource exists in the ACL | ||
* | ||
* The $resource parameter can either be a Resource or a Resource identifier. | ||
* | ||
* @param Resource\ResourceInterface|string $resource | ||
* @return boolean | ||
*/ | ||
public function hasResource($resource); | ||
|
||
/** | ||
* Returns true if and only if the Role has access to the Resource | ||
* | ||
* The $role and $resource parameters may be references to, or the string identifiers for, | ||
* an existing Resource and Role combination. | ||
* | ||
* If either $role or $resource is null, then the query applies to all Roles or all Resources, | ||
* respectively. Both may be null to query whether the ACL has a "blacklist" rule | ||
* (allow everything to all). By default, Zend_Acl creates a "whitelist" rule (deny | ||
* everything to all), and this method would return false unless this default has | ||
* been overridden (i.e., by executing $acl->allow()). | ||
* | ||
* If a $privilege is not provided, then this method returns false if and only if the | ||
* Role is denied access to at least one privilege upon the Resource. In other words, this | ||
* method returns true if and only if the Role is allowed all privileges on the Resource. | ||
* | ||
* This method checks Role inheritance using a depth-first traversal of the Role registry. | ||
* The highest priority parent (i.e., the parent most recently added) is checked first, | ||
* and its respective parents are checked similarly before the lower-priority parents of | ||
* the Role are checked. | ||
* | ||
* @param Role\RoleInterface|string $role | ||
* @param Resource\ResourceInterface|string $resource | ||
* @param string $privilege | ||
* @return boolean | ||
*/ | ||
public function isAllowed($role = null, $resource = null, $privilege = null); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters