projects
/
platform
/
core
/
api
/
webapi-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1571f1a
)
[Common][Filesystem] Fix for checking privilege.
87/71887/2
author
Tomasz Marciniak
<t.marciniak@samsung.com>
Fri, 27 May 2016 11:14:08 +0000
(13:14 +0200)
committer
Tomasz Marciniak
<t.marciniak@samsung.com>
Fri, 27 May 2016 11:15:30 +0000
(
04:15
-0700)
[Verification] Code compiles.
TCT privilege pass rate 100%
Change-Id: Ie81b929b657bde2d800198dda7cb12aa10a45ed7
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
src/utils/utils_api.js
patch
|
blob
|
history
diff --git
a/src/utils/utils_api.js
b/src/utils/utils_api.js
index
31ae67e
..
5502e3f
100644
(file)
--- a/
src/utils/utils_api.js
+++ b/
src/utils/utils_api.js
@@
-257,7
+257,7
@@
Utils.prototype.isAppVersionEarlierThan= function(ver) {
}
Utils.prototype.checkPrivilegeAccess4Ver = function(new_ver, new_priv, old_priv) {
- if (this.isAppVersionEarlierThan(new_ver)) {
+ if (
!
this.isAppVersionEarlierThan(new_ver)) {
this.checkPrivilegeAccess(new_priv);
} else if (old_priv != undefined) {
this.checkPrivilegeAccess(old_priv);