Comments (11)
Agreed, and I've thrown the idea around during previous release cycles. I haven't implemented it so far simply because the whole sync code and serialization formats are different; other than the idea of 'syncing' pretty much none of the item code carries over to security items.
I'll throw it in the ever growing hopper of things I wish Unicorn did. Feel free to implement if you have time before I do :)
from unicorn.
Hi Kamsar,
Just wanted to know , the new functionality got implemented in new version of Unicorn
from unicorn.
Nope. It's not there yet.
On Thu, Nov 5, 2015 at 2:19 AM amitthakur2014 [email protected]
wrote:
Hi Kamsar,
Just wanted to know , the new functionality got implemented in new version
of Unicorn—
Reply to this email directly or view it on GitHub
#30 (comment).
from unicorn.
I don't think serialisation of security related information belongs in Unicorn, just my 2 cents. Changes to users/roles happen so infrequently in a project life cycle, managing process around this is not really a prime candidate choice for automation.
from unicorn.
I disagree. It is serializeable sitecore content that your code can depend
on.
For instance if you want to add user registration/authentication on your
site by using Sitecore users in a specific domain. You will want to
serialize that domain and add it to your source control, so you can deploy
the code and the sitecore items including the domain that go with your code.
On Fri, Dec 11, 2015, 10:11 AM Mark Cassidy [email protected]
wrote:
I don't think serialisation of security related information belongs in
Unicorn, just my 2 cents. Changes to users/roles happen so infrequently in
a project life cycle, managing process around this is not really a prime
candidate choice for automation.—
Reply to this email directly or view it on GitHub
#30 (comment).
from unicorn.
Serialization of users, absolutely not.
Serialization of roles, I think makes sense.
Suppose you have a very multi site solution where each site has its own
roles, or devs are defining workflows and need to push dependent security
roles for the steps and transitions.
It is a totally separate concern from regular unicorn though as roles are
just a string and not an item. That's why this has sat on the shelf for so
long. New infrastructure for everything.
On Fri, Dec 11, 2015 at 1:35 AM el-slowmo [email protected] wrote:
I disagree. It is serializeable sitecore content that your code can depend
on.For instance if you want to add user registration/authentication on your
site by using Sitecore users in a specific domain. You will want to
serialize that domain and add it to your source control, so you can deploy
the code and the sitecore items including the domain that go with your
code.On Fri, Dec 11, 2015, 10:11 AM Mark Cassidy [email protected]
wrote:I don't think serialisation of security related information belongs in
Unicorn, just my 2 cents. Changes to users/roles happen so infrequently
in
a project life cycle, managing process around this is not really a prime
candidate choice for automation.—
Reply to this email directly or view it on GitHub
#30 (comment).—
Reply to this email directly or view it on GitHub
#30 (comment).
from unicorn.
My opinion is that we should be able to serialise and version control everything if you wish to do so. This includes roles and users.
Naturally it's not sound to version control production users (or content for that matter) but for e.g. regression test purposes it is vital that you can store and version control complete environment configurations.
from unicorn.
There's no way to serialize users' passwords (or even the hashes thereof without direct SQL calls) which makes serializing users a bit pointless imo, as any deserialized user would only really be usable by a UserSwitcher
or something as the password would not be moved.
from unicorn.
Good point. A file based membership provider could be the way to go for the automated test scenario.
On 12 Dec 2015, at 8:29 AM, Kam Figy [email protected] wrote:
There's no way to serialize users' passwords (or even the hashes thereof without direct SQL calls) which makes serializing users a bit pointless imo, as any deserialized user would only really be usable by a UserSwitcher or something as the password would not be moved.
—
Reply to this email directly or view it on GitHub.
from unicorn.
While there may be a case for security information serialisation, I still don't see this as the job of Unicorn. It deals with Sitecore content in Sitecore databases. Membership data is neither content, nor does it sit in Sitecore databases.
A new tool, possibly as @eldblom suggests; file based membership, profile, and role providers - sure. Would be reasonably easy to implement as well. Or grab an existing one:
https://github.com/wilby/XmlMembershipProvider
from unicorn.
Moving this conversation to #107
from unicorn.
Related Issues (20)
- security Vulnerabilities in Unicorn.SharedSecret.config file HOT 1
- Dilithium + Unicorn.DataProvider.10.1 HOT 3
- Sitecore 10.1 uses Sitecore.Kernel 16.0.0.0 version which does not have attribute 'UsedImplicitlyAttribute' and unicorn uses this attribute HOT 3
- Syncing Unchecked Shared field checkbox is not performing the movement of data from SharedFields to VersionFields tables HOT 10
- Unicorn.aspx indicates Transparent Sync is enabled on configs but TS is not working and does not display in Content Editor warning HOT 4
- Unicorn.DataProvider.10.1.config role:require setting prevents the config from being loaded on XM0 HOT 2
- Error message during Unicorn Sync "The statement terminated. The maximum recursion 100 has been exhausted before statement completion." HOT 2
- Performing a sync on a configuration with Transparant Sync breaks stuff?? HOT 3
- Unicorn added <site> breaks Sitecore on ContentDelivery roles in 10.1.2 HOT 5
- DuplicateItemName exception HOT 2
- UnauthorizedAccessException with SyncSilent HOT 2
- When we are deploying the changes on the Sitecore DEV site by using Azure Paas we are getting this error HOT 1
- Unicorn RainbowCodeGeneration is not supporting Sitecore 10.2 for serializing model HOT 3
- Verb - Reserialize ERROR: The remote host closed the connection. The error code is 0x800704CD.
- Not possible to config patch the fieldFilter exclude list HOT 4
- Moved item can end up deleted on sync HOT 1
- Sync Challenge Issue
- Serialization issue in cloned items HOT 1
- *feature* Is Unicorn supporting Sitecore 10.3? HOT 3
- Moving items results in deleted items
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unicorn.