Commit Graph

120 Commits (master)

Author SHA1 Message Date
Kim Alvefur 6959547703 core.usermanager: Fix COMPAT layer for legacy is_admin() function 9 months ago
Matthew Wild e66265d65a usermanager: Add info logging for all usermanager account changes 10 months ago
Matthew Wild ccacf5acb3 usermanager: Include role_name in event for consistency with the 'removed' event 11 months ago
Matthew Wild 067a0ad4d8 usermanager, mod_saslauth: Default to internal_hashed if no auth module specified 4 years ago
Matthew Wild 253b2fba90 usermanager, mod_auth_internal_hashed: Support metadata when disabling a user 2 years ago
Matthew Wild 641f070a9d usermanager: Add create_user_with_role() method to atomically set initial role 3 years ago
Kim Alvefur e53ef27a1c core.usermanager: Correct formatting of not implemented error 3 years ago
Kim Alvefur d47a7bb3bd core: Prefix module imports with prosody namespace 3 years ago
Kim Alvefur 4d46c27840 authz: Add method for retrieving all roles 3 years ago
Kim Alvefur bb65a83696 core.usermanager: Fire events when enabling and disabling users 3 years ago
Kim Alvefur 931c14e50b core.usermanager: Add methods for enabling and disabling users 3 years ago
Kim Alvefur 6a37ab6356 core.usermanager: Link to docs for new role API to make warning more actionable 3 years ago
Kim Alvefur b608af36ed core.usermanager: Update argument name in authz fallback method 3 years ago
Kim Alvefur 1f4b94adab core.usermanager: Remove obsolete authz fallback method 3 years ago
Kim Alvefur 51b17f1c20 core.usermanager: Add missing methods to fallback authz provider 3 years ago
Kim Alvefur 8bed557afd core.usermanager: Add scoped luacheck ignore rule to reduce clutter 3 years ago
Matthew Wild f75ac951b5 mod_authz_internal: Expose convenience method to test if user can assume role 3 years ago
Matthew Wild f5768f63c9 mod_authz_internal, and more: New iteration of role API 3 years ago
Matthew Wild ae3a89375d usermanager: Add back temporary is_admin to warn about deprecated API usage 3 years ago
Matthew Wild 7ccf41ebb5 usermanager: Remove concept of global authz provider 3 years ago
Matthew Wild bd2b2af7b7 usermanager: Fix method name of global authz provider (thanks Zash) 3 years ago
Matthew Wild afbc47f8ba usermanager: Remove obsolete function from global authz provider 3 years ago
Matthew Wild b1f0061da3 usermanager: Handle local JIDs being passed to get/set_jid_role() 3 years ago
Kim Alvefur a88c982ae2 core.usermanager: Add missing stub authz methods to global authz provider 3 years ago
Matthew Wild c0b857e5fb mod_authz_internal: Use util.roles, some API changes and config support 3 years ago
Matthew Wild 4db3d15723 usermanager, mod_auth_*: Add get_account_info() returning creation/update time 4 years ago
Matthew Wild d73714b4f4 Switch to a new role-based authorization framework, removing is_admin() 4 years ago
Kim Alvefur a3c82c5d02 core.usermanager: Implement noop role writes on global authz provider 4 years ago
Matthew Wild 3315a2f616 usermanager: Fire user-roles-changed event when updating roles of a local user 4 years ago
Matthew Wild 58e6c71f12 usermanager, mod_authz_internal: Add methods to fetch users/JIDs of given role 4 years ago
Jonas Schäfer 0ca317cd0b usermanager: expose set_roles through API 5 years ago
Matthew Wild 8f5d92c15e usermanager: Fix traceback when checking admin status of host-only JIDs (fixes #1508) 6 years ago
Matthew Wild 8d04879adf usermanager, mod_authz_*: Merge mod_authz_config and mod_authz_internal into the latter 6 years ago
Matthew Wild 3fb671e0a3 usermanager: Add get_roles() function 6 years ago
Matthew Wild 34abcc8bd5 mod_authz_internal, usermanager: Rename to mod_authz_config 6 years ago
Matthew Wild b177628d3c usermanager: Load authz providers on components also 6 years ago
Matthew Wild 1f437623ad usermanager, mod_authz_internal: Move admin-checking functionality into a module. Fixes #517 (ish). 6 years ago
Kim Alvefur 73b75571e6 core.usermanager, various modules: Disconnect other resources on password change (thanks waqas) (fixes #512) 9 years ago
Kim Alvefur 77fbea8cdc core: Use prosody.hosts instead of _G.hosts for consistency 8 years ago
Kim Alvefur 43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Kim Alvefur 7d84f2f261 usermanager: Shortcircuit user existence check if they have existing sessions 10 years ago
Kim Alvefur 1ef7f18752 core.usermanager: Return as soon as possible once admin status is known 10 years ago
Matthew Wild 7b3df2bae6 portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations 11 years ago
Kim Alvefur 9bb576b332 usermanager: Capitalize log message 11 years ago
Kim Alvefur 27265c20e2 core.*: Remove use of module() function 11 years ago
Matthew Wild de0f19e1af usermanager: Remove unused import of pairs() 13 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Kim Alvefur 1acfdf5914 core.*: Complete removal of all traces of the "core" section and section-related code. 13 years ago
Kim Alvefur ab915e9dd4 usermanager: Add support for iterating over accounts 13 years ago
Kim Alvefur 136674425b storagemanager: Add purge() for purging user data from all backends in use 13 years ago