History log of /5.5.2/kv_engine/daemon/protocol/mcbp/drop_privilege_executor.cc (Results 1 - 6 of 6)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v7.0.2, v6.6.3, v7.0.1, v7.0.0, v6.6.2, v6.5.2, v6.6.1, v6.0.5, v6.6.0, v6.5.1, v6.0.4, v6.5.0, v6.0.3, v5.5.4, v5.5.5, v5.5.6, v6.0.1, v5.5.3, v6.0.0, v5.1.3, v5.5.2, v5.5.1, v5.1.2, v5.1.1
# 9738c807 27-Mar-2018 Trond Norbye <trond.norbye@gmail.com>

Cleanup: Reduce include from memcached.h and connection.h

These two files used to be included from almost every .cc file
and included a lot of other files, which results in recomplie

Cleanup: Reduce include from memcached.h and connection.h

These two files used to be included from almost every .cc file
and included a lot of other files, which results in recomplie
of almost everything whenever changing stuff in one of the
headers.

Forward decl the classes whenever possible to reduce the
number of nested includes and just include the .h from the
.cc where it is needed.

Change-Id: I5dfc884b58473898f15cf407cc069a0bac32dc82
Reviewed-on: http://review.couchbase.org/91660
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Tim Bradgate <tim.bradgate@couchbase.com>

show more ...


# bf74734d 14-Mar-2018 Trond Norbye <trond.norbye@gmail.com>

Refactor: Squash McbpConnection into Connection

There is no point of having this split into two different
classes when we only have instances of McbpConnection (Greenstack
was killed

Refactor: Squash McbpConnection into Connection

There is no point of having this split into two different
classes when we only have instances of McbpConnection (Greenstack
was killed)

Change-Id: If34871477c8ed1ea13f50202673f0e641e718542
Reviewed-on: http://review.couchbase.org/90975
Reviewed-by: Tim Bradgate <tim.bradgate@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>

show more ...


Revision tags: v5.0.1
# 2427f969 30-Oct-2017 Trond Norbye <trond.norbye@gmail.com>

Refactor: move getPrintableKey and log command/response to cookie

Change-Id: I765dce9afc3b02ddb546971e078ab9adda13172f
Reviewed-on: http://review.couchbase.org/84898
Tested-by: Build

Refactor: move getPrintableKey and log command/response to cookie

Change-Id: I765dce9afc3b02ddb546971e078ab9adda13172f
Reviewed-on: http://review.couchbase.org/84898
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Jim Walker <jim@couchbase.com>

show more ...


# 7dc1e158 26-Oct-2017 Trond Norbye <trond.norbye@gmail.com>

Refactor: Add helper methods to the Cookie to send responses

Change-Id: I3ff05e990140c05c721f4baea5da0ee822684ebb
Reviewed-on: http://review.couchbase.org/84829
Tested-by: Build Bot

Refactor: Add helper methods to the Cookie to send responses

Change-Id: I3ff05e990140c05c721f4baea5da0ee822684ebb
Reviewed-on: http://review.couchbase.org/84829
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Jim Walker <jim@couchbase.com>

show more ...


# 3f4f1cb1 24-Oct-2017 Trond Norbye <trond.norbye@gmail.com>

Refactor: Start migration to pass the Cookie to the executors

All of the executors needs to operate on the cookie object
instead of the connection object as we (in the future) wants

Refactor: Start migration to pass the Cookie to the executors

All of the executors needs to operate on the cookie object
instead of the connection object as we (in the future) wants
to be able to execute commands out of order.

Change-Id: I4623f4351d0460961fb6b3cdf831374f909603df
Reviewed-on: http://review.couchbase.org/84787
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Jim Walker <jim@couchbase.com>

show more ...


Revision tags: v5.1.0, v5.0.0
# 74c314ea 07-Jun-2017 Trond Norbye <trond.norbye@gmail.com>

Add support for dropping a privilege from the current context

During unit tests we need to test a command with and without the
appropriate privilege available in the current context. Bei

Add support for dropping a privilege from the current context

During unit tests we need to test a command with and without the
appropriate privilege available in the current context. Being able
to drop a privilege from the current execution context makes
writing unit tests a lot easier as the alternative is to either
operate on two different buckets (or reauthenticate as a user
without the privilege).

Given that dropping a privilege from the execution context won't
increase a clients access, it is a safe operation to allow clients
to use.

The privilege set is reset if:

* Someone changes the RBAC database
* The client selects another bucket

Change-Id: I36d29cfc20dc3912b4a128cb5901902531a315dd
Reviewed-on: http://review.couchbase.org/79189
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...