Pman.js
authorAlan Knowles <alan@roojs.com>
Thu, 6 Oct 2011 05:20:43 +0000 (13:20 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 6 Oct 2011 05:20:43 +0000 (13:20 +0800)
Pman.js

diff --git a/Pman.js b/Pman.js
index 4f822cf..025aabb 100644 (file)
--- a/Pman.js
+++ b/Pman.js
@@ -463,7 +463,9 @@ Pman = new Roo.Document(
     
     
     /**
-     * eg. has Pman.hasPerm('Admin.Admin_Tab', 'S') == showlist..
+     * hasPerm:
+     * Does the authenticated user have permission to see this.
+     * 
      * @param {String} name the [Module].[permission] to check for
      * @param {Char} lvl  - which type of permission to use (eg. S=show...)
      * @returns {Boolean} tue indicates permission allowed
@@ -483,9 +485,10 @@ Pman = new Roo.Document(
         
     },
     /**
-     * eg. has Pman.hasPerm('Admin.Admin_Tab', 'S') == showlist..
+     * hasPermExists:
+     * Is there a permission defined for this (used by module registration.)
+     * 
      * @param {String} name the [Module].[permission] to check for
-     * @param {Char} lvl  - which type of permission to use (eg. S=show...)
      * @returns {Boolean} tue indicates permission exists.
      */
     hasPermExists: function(name) {