Bugs: Browse | Submit New | Admin

[#8266] No has_permission? function

Date:
2007-01-29 11:08
Priority:
3
Submitted By:
Daniel Weinand (dweinand)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
No has_permission? function

Detailed description
the API describes User.has_permission? function which returns boolean value. Instead of it there is User.has_permission
function which returns list or nil. This confuses and works strange.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2007-01-29 11:09
Sender: Daniel Weinand

There is an error in the documentation: The documented version
is not the 0.3.1 but the trunk version. In trunk, the method
User.has_permission? exists instead of User.has_permission.

See ActiveRBAC's current CHANGELOG for more information.

We should host different API documentation for the releases and
the trunk version and write down the correct version in trunk's
documentation.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item