Updated CMS_NODE_API, with status, not_published, published and trashed.
Removed class cms_node_constants. Updated Form response to use permission scopes. Updated sqlquery to retrieve user author. Added logger info in cms_response
This commit is contained in:
@@ -182,6 +182,7 @@ feature -- Permission
|
||||
has_permission (a_permission: READABLE_STRING_GENERAL): BOOLEAN
|
||||
-- Does current user has permission `a_permission' ?
|
||||
do
|
||||
api.logger.put_information (generator + ".has_permission", a_permission)
|
||||
Result := user_has_permission (current_user (request), a_permission)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user