Skip to content
Snippets Groups Projects
  1. Jan 26, 2016
  2. Jan 11, 2016
  3. Dec 18, 2015
  4. Nov 09, 2015
  5. Nov 08, 2015
  6. Nov 07, 2015
    • Zach Auclair's avatar
      feat(message-ui/edit-info): add information about message editor · 60e4620b
      Zach Auclair authored
      This comes in the form of the user's avatar, along with a hover
      title that shows username and edit time. As a side note, this
      requires us to start saving 'editBy' id as part of message updates.
      
      This has been tested with all 4 of the current avatar methods.
      
      fixes #824
      60e4620b
  7. Oct 21, 2015
  8. Oct 01, 2015
  9. Sep 22, 2015
  10. Sep 21, 2015
  11. Sep 18, 2015
  12. Sep 16, 2015
    • Rodrigo Nascimento's avatar
      Remove unused code · 65c8e83d
      Rodrigo Nascimento authored
      65c8e83d
    • Reid Wakida's avatar
      Create RocketChat authorization package that handles role and permission · c2e6e0fa
      Reid Wakida authored
      based authorization
      
      Leverages alanning:roles package to associate a user to a role.  Uses
      alanning:roles optional "group" parameter to limit the role's scope to
      either the global level or room level.  The global level is applicable
      to users that can perform administrative functions.  The room level is
      applicable to users that can perform room specific administrative
      functions (like a moderator).
      
      A role can have zero or more permissions.  Permissions and their
      association to roles are defined by this package
      
      Authorization checks are based on whether or not the user has a role or permission.
      
      The roles, permissions, and their association are statically defined at
      this time.  Eventually, there should be an API to dynamically create a
      role and associate it to static permission(s).
      
      Old 'isAdmin' and '.admin is true'  checks have been replaced with
      corresponding hasPermission authorization checks.  Additionally, code
      that automatically assigned admin privileges are updated to assign
      'admin' role instead.
      
      channel/direct message/private group code checks authorization to edit
      properties (e.g. title) and edit/delete messages (regardless of the
      system level allow edit/delete settings).
      - user with 'admin' role are authorized to do anything
      - room creator is assigned 'moderator' role that can edit the room and
        edit/delete messages
      - members can only edit/delete their own messages IF system wide
        settings permit them to.
      
      v19 migration will
      - add 'admin' role to users with admin:true property
      - add 'moderator' role scoped to room for room creators
      - add 'user' role to all users.
      
      There are known issues unrelated to the changes made
      - If a user with edit/delete message room permissions logs out then a user without
        edit/delete message room permissions logs in, then they will see
      edit/delete icons.  The server will deny execution
      - edit/delete icons are not reactive   Thus if the system level allow
        edit/delete message setting is toggled, the icons will not reflect it.
      The server will deny execution.
      c2e6e0fa
  13. Sep 15, 2015
  14. Sep 08, 2015
  15. Aug 31, 2015
  16. Aug 28, 2015
  17. Aug 20, 2015
  18. Aug 18, 2015
  19. Jul 28, 2015
  20. Jul 22, 2015
  21. Jul 16, 2015
  22. Jul 15, 2015
  23. Jun 28, 2015
  24. Jun 26, 2015
  25. Jun 15, 2015
  26. Jun 08, 2015
  27. Jun 07, 2015
Loading