You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `dump` | `/export/dump` | Directory to place exports. **This is optional when using remote storage option(s)**. Omit if you don't need a local copy. | `-v /local/yourpath/bkps:/export/dump` |
176
176
177
-
### Authentication
178
-
**Note visibility of pages is based on user**, so use a user that has access to pages you want to back up.
177
+
### Authentication and Permissions
178
+
#### Permissions
179
+
**Note visibility of pages is based on user**, so use a user that has read access to pages and content you want to back up. *The role assigned to the user* should have the additional permissions for target pages and their content:
180
+
- `read`for all images and attachments
181
+
- For most users this may already be set - may be required to be set depending on storage option used
182
+
- `Export Content`(This can be found in `Edit Role --> System Permissions`)
183
+
- For most users this may already set - may be required to be set if using custom roles
184
+
- If not set, you may see page contents showing as a HTML login page, as reported in this [issue](https://github.com/homeylab/bookstack-file-exporter/issues/35)
Provide a tokenId and a tokenSecret as environment variables or directly in the configuration file.
@@ -188,7 +195,7 @@ Env variables for credentials will take precedence over configuration file optio
188
195
**For object storage authentication**, find the relevant sections further down in their respective sections.
189
196
190
197
### Configuration
191
-
_Ensure [Authentication](#authentication) has been set up beforehand for required credentials._ For a simple example to run quickly, refer to the one in the [Using This Application](#using-this-application) section. A full example is also shown below with descriptions. Optionally, look at `examples/` folder of the github repo for more examples.
198
+
_Ensure [Authentication](#authentication-and-permissions) has been set up beforehand for required credentials._ For a simple example to run quickly, refer to the one in the [Using This Application](#using-this-application) section. A full example is also shown below with descriptions. Optionally, look at `examples/` folder of the github repo for more examples.
192
199
193
200
For object storage configuration, find more information in their respective sections
0 commit comments