diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-08-01 11:10:57 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-08-01 11:10:57 +0200 |
commit | d6e5f04d3987e498c5cb859eed6bff33d67949df (patch) | |
tree | aec901679761a9bb4dfdbecc6625e4f4583d004e /application/bookmark/BookmarkServiceInterface.php | |
parent | f7f08ceec1b218e1525153e8bd3d0199f2fb1c9d (diff) | |
download | Shaarli-d6e5f04d3987e498c5cb859eed6bff33d67949df.tar.gz Shaarli-d6e5f04d3987e498c5cb859eed6bff33d67949df.tar.zst Shaarli-d6e5f04d3987e498c5cb859eed6bff33d67949df.zip |
Remove anonymous permission and initialize bookmarks on login
Diffstat (limited to 'application/bookmark/BookmarkServiceInterface.php')
-rw-r--r-- | application/bookmark/BookmarkServiceInterface.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/application/bookmark/BookmarkServiceInterface.php b/application/bookmark/BookmarkServiceInterface.php index 37fbda89..ce8bd912 100644 --- a/application/bookmark/BookmarkServiceInterface.php +++ b/application/bookmark/BookmarkServiceInterface.php | |||
@@ -6,7 +6,6 @@ namespace Shaarli\Bookmark; | |||
6 | use Shaarli\Bookmark\Exception\BookmarkNotFoundException; | 6 | use Shaarli\Bookmark\Exception\BookmarkNotFoundException; |
7 | use Shaarli\Bookmark\Exception\NotWritableDataStoreException; | 7 | use Shaarli\Bookmark\Exception\NotWritableDataStoreException; |
8 | use Shaarli\Config\ConfigManager; | 8 | use Shaarli\Config\ConfigManager; |
9 | use Shaarli\Exceptions\IOException; | ||
10 | use Shaarli\History; | 9 | use Shaarli\History; |
11 | 10 | ||
12 | /** | 11 | /** |
@@ -177,17 +176,4 @@ interface BookmarkServiceInterface | |||
177 | * Creates the default database after a fresh install. | 176 | * Creates the default database after a fresh install. |
178 | */ | 177 | */ |
179 | public function initialize(); | 178 | public function initialize(); |
180 | |||
181 | /** | ||
182 | * Allow to write the datastore from anonymous session (not logged in). | ||
183 | * | ||
184 | * This covers a few specific use cases, such as datastore initialization, | ||
185 | * but it should be used carefully as it can lead to security issues. | ||
186 | */ | ||
187 | public function enableAnonymousPermission(); | ||
188 | |||
189 | /** | ||
190 | * Disable anonymous permission. | ||
191 | */ | ||
192 | public function disableAnonymousPermission(); | ||
193 | } | 179 | } |