Removed obsolete calls, harmonized predefine response, added non admin user pages.
When access is denied, also provide when possible and wanted, the needed
permissions so that in the future, user will be able to ask for
permission easily.
Renamed previous user handlers as admin user handlers.
Added non admin user handler /user/{uid} .
Add new `send_...` response to `CMS_API.response_api`, and use them
instead of `create {...RESPONSE}.... ; execute`.
Fixed potential issue with storage mailer initialization if folder does
not exist.
Added utf_8_encoded helpers function on CMS_API interface.
Fixed a few unicode potential issues.
Removed a few obsolete calls.
This commit is contained in:
@@ -17,15 +17,19 @@ create
|
||||
|
||||
feature {NONE} -- Initialization
|
||||
|
||||
make (a_name: READABLE_STRING_32)
|
||||
make (a_name: READABLE_STRING_GENERAL)
|
||||
-- Create an object with name `a_name'.
|
||||
require
|
||||
a_name_not_empty: not a_name.is_whitespace
|
||||
do
|
||||
name := a_name
|
||||
if attached {READABLE_STRING_32} a_name as n32 then
|
||||
name := n32
|
||||
else
|
||||
name := a_name.to_string_32
|
||||
end
|
||||
initialize
|
||||
ensure
|
||||
name_set: name = a_name
|
||||
name_set: name.same_string_general (a_name)
|
||||
status_not_active: status = not_active
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user