
functions
files
intro
|
|
UserWriteStack.ycp
|
|
- Johannes Buchhold <jbuch@suse.de>
- Purpose: this module handles a stack that
- contains all system changes executed
- by finishing the user module.
|
|
Imports
- MailAliases
- Mode
- Report
- UserDefs
- UserSettings
- Wizard
Includes
- users/help.ycp
- users/ui.ycp
Functions
|
|
|
Delete stack data.
|
global IsEmpty () -> boolean
|
|
Return true if the stack is empty.
- Return value:
|
global AddTodo (string todo, symbol what, string error, symbol type, integer id) -> boolean
|
|
Add an entry to the map write_to_system_stack for a todo position.
- Parameters:
|
todo |
exec string |
|
what |
symbol
`set_group_password
`add_user_local
`add_user
`edit_user
`add_group
`edit_user
`mkdir
`mv
`del_user_local
`del_user
`del_group |
|
error |
error message |
|
type |
symbol `user of `group |
|
id |
integer uid or gid depending on type |
- Return value:
|
local addSetGroupPassword (string groupname, string password) -> boolean
|
|
Add a entry to the map write_to_system_stack to set a group password
- Parameters:
|
groupname |
the name of the group |
|
password |
the new group password |
- Return value:
|
local consoleEncoding (string fullname) -> string
|
|
Encode the fullname of a user.
- Parameters:
|
fullname |
the fullname of a user |
- Return value:
|
global UserSave (map user_in_work, boolean save_directly) -> symbol
|
|
Add entries to the map write_to_system_stack to save a new or modified user.
Update the virtual user and group settings in UserSettings.
- Parameters:
|
user_in_work |
map of user to save |
|
save_directly |
boolean true to save directly and not using WriteQueue |
- Return value:
|
global GroupSave (map group_in_work, boolean save_directly) -> symbol
|
|
Add entries to the map write_to_system_stack to save a new or modified group.
Update the virtual user and groups settings.
- Parameters:
|
group_in_work |
map of selected group |
|
save_directly |
boolean true to save directly and not using WriteQueue |
- Return value:
|
global SaveDialog (boolean useUI) -> symbol
|
|
Dialog to save the Groups and Usersettings to system
- Parameters:
|
useUI |
boolean true to set change UI (progress bar) |
- Return value:
|