File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
## [ Unreleased]
11
11
12
+ ## [ 3.3.0] => 2023-MAR-31
13
+
14
+ ### Added
15
+
16
+ - Added ` guest() ` method to CBSecurity model and ` Authorizable ` delegate
17
+
12
18
## [ 3.2.0] => 2023-MAR-29
13
19
14
20
### Added
Original file line number Diff line number Diff line change @@ -250,6 +250,13 @@ component threadsafe singleton accessors="true" {
250
250
return getAuthService ().isLoggedIn ();
251
251
}
252
252
253
+ /**
254
+ * Verifies if a user is NOT logged in
255
+ */
256
+ boolean function guest (){
257
+ return ! getAuthService ().isLoggedIn ();
258
+ }
259
+
253
260
/**
254
261
* Login Facade
255
262
*
Original file line number Diff line number Diff line change @@ -52,6 +52,13 @@ component {
52
52
return variables .cbSecurity .isLoggedIn ();
53
53
}
54
54
55
+ /**
56
+ * Verifies if a user is NOT logged in
57
+ */
58
+ boolean function guest (){
59
+ return variables .cbSecurity .guest ();
60
+ }
61
+
55
62
/* **************************************************************/
56
63
/* Verification Methods
57
64
/***************************************************************/
You can’t perform that action at this time.
0 commit comments