generator-begcode
Version:
Spring Boot + Angular/React/Vue in one handy generator
21 lines (13 loc) • 414 B
Markdown
# spring-boot sub-generator
Spring Boot generator.
## Customizing
### Entities
#### Notable customizations
##### Layers
Customize @PreAuthorize annotations at Rest layer.
Calculated using (@EntityAuthority)[../app/README.md#Authority] by default.
```
@EntitySpringPreAuthorize("hasAuthority('ROLE_CUSTOM')")
@EntitySpringReadPreAuthorize("hasAuthority('ROLE_CUSTOM_READ')")
entity CustomPreAuthorize {}
```