2sxc 9.30 now has some long-awaited features like draft-write permissions and more, making it a great choice for public forms and other use cases.
Important: This is the technical post, most people will be more interested in the May the 4th be with you post describing all the new things you can do with these technical features.
Click here to read about all that.
The Highlights
- New permission model allows you to use 2sxc forms for public forms
- New permission model so you can assign permissions to a single user #1501 or to user groups #1485
- New permissions "draft" which let users only create draft-data (so you can review it before it's published) #1486 -
- Adam also respects these permissions, so non-editers can also upload files (logos, images etc.) with new data #1487
- The Entity-Picker also respects these permissions, so non-editers can pick data like authors, tags, etc. from existing lists #1520
- New Razor-API to enable this
- New JavaScript API to enable this
Total 30+ Improvements
Here are some more details + smaller things that make life easier:
- New: @Edit.Enable(...) lets Razor views ensure that edit-js / context is available for non-editors, to then allow buttons like "new" for anonymous users #1522 see also wiki
- New: @Edit.WrapContext(...) lets Razor views provide context information so that editing is possible for non-editors and more #1479 - this is for scenarios, where you want a different context inside a module; very advanced scenarios, don't worry if you don't get this one.
- New: Permission Sets
- New: @Permissions.UserMay... API
- New: File-picker (ADAM) can be configured to provide the url, instead of file:## syntax if desired #1497 (important for anonymous users, who can't resolve file-numbers)
- New: $2sxc.cms.run #... which also returns a promise, so you can show a message when an action completed #1521
- New: $2sxc.context(...)
- New: configure permissions at app level #1525
- New: better performance on list-caching #1543
- New: ADAM checks allowed files list when uploading #1539
- New: ADAM allowed files can also have a regex #1541
- New: resolving a "file:34" will now respect permissions, so for reduced permissions it will only resolve files within that item #1535
- New: Fingerprinting system #1532 - see also this blog
- New: .Permissions property on internal objects #1534
- New: ability to not create the fallback toolbar #1518
- New: Feature management system #1527 see also this blog post
- Internal: new GetBestValue<T> overload on IEntity #1537
- Internal: GetBestValue<T> on Metadata #1538
- Security Hardening: Create blacklist of never-allowed-file-extensions in ADAM #1533
- Security Hardening: change some WebAPI internals #1531
- Change: the .Metadata will now hide the permissions metadata #1540
- Minor: Don't include log-info in context-json #1523
- Minor: Update Tiny-MCE to version 4.6 #1526
- Bug: draft-items could sometimes not be published from Toolbar #1544
- Bug: Issue with adding apps #1515
- Bug: External WebAPI calls failed in DNN 9.2 #1478
- Bug: Modified didn't give correct date on Entity #1495
- Bug: Couldn't access App Settings/Resources when accessing an app through Manage-All-Apps #1451
- Bug: Module Actions-Menu not working #1516
- Bug: Adam fix upload-numbering #1496
Download now...
...from the github repo
Love from Switzerland,
iJungleboy