I wanna know with nexus I can control access of repositories.
For example I have Repo A, B and C and groups 1, 2 and 3.
Can I say that for Repo A and B just Group 1 have access and Repo C group 2 and 3 have access?
Yes, you can do that. You can configure privileges for the repositories and specify which groups can access it.
See The Nexus Book - Managing Security for more details.
Related
Let's say we have the following verification matrix in the Pact broker:
Consumer version
Provider version
Verified?
Comment
1 (Production)
1 (Production)
yes
2
1
no
Consumer updated the contract
2
2
yes
Provider is updated according to contract
We use "can-i-deploy" to check whether we can deploy a version to Production. How can we ever deploy either Consumer v2 or Provider v2 in this case? The "can-i-deploy" script would prevent us from doing it, because there is no verified contract on Production.
I'd recommend reading this guide for the recommended CI/CD setup: https://docs.pact.io/pact_nirvana, and specifically, this guide for the recommended selectors.
The short answer, is that version 2 of the provider would verify more than one contract - usually, you would want to test that provider won't break what's currently in production (using the deployedOrReleased selector) and make sure you're compatible with the latest dev branch (usually via mainBranch: true).
This way, the provider can release without breaking what's in prod and also won't break the consumer that's about to release.
My apps using bonjour service to conversation with each other via local network.
I am facing a problem on Xcode12 with OS14 device.
A device publish a service with server type name depends on self device IP address
(example: 192.168.33.20 -> _1921683320._tcp)
B device searching a service with service type depends on A device IP address
(example: _1921683320._tcp)
According to apple document..From OS14~
https://developer.apple.com/documentation/multipeerconnectivity
Important
Apps that use the local network must provide a usage string in their Info.plist with the key NSLocalNetworkUsageDescription. Apps that use Bonjour must also declare the services they browse, using the NSBonjourServices key.
because my service type name is named by local network ip, it is changeable base on local network setting, so I am thinking about to using wildcard to define the service type name.
example: _*._tcp
but seems wildcard is not available on this definition.(I tried it)
I am also thinking about changing the naming method on A device
(example: 192.168.33.20 -> _20._tcp)
and add _1.tcp ~ _255.tcp to info-plist
But if I changed the naming method, B device could not find A device until version up.
Any idea for this problem? Please help.
I'm currently working through the same issue - Bonjour service name is dynamically created based off the iPad name to form a local mesh network. The conclusion that I have came to is com.apple.developer.networking.multicast is required for this to function without completely overhauling how all that logic is done. (More info here)
You will have to request permission from apple by filling out a form here. Let me know if this works for you!
The thing I am finding is, you "might" not be able to use a wildcard, but you can put multiple entries in the plist:
Item 0 _multicastapp0-p._tcp
Item 1 _multicastapp1-p._tcp
Item 2 _multicastapp2-p._tcp
Item 3 _multicastapp3-p._tcp
etc
Item N _multicastappN-p._tcp
So for some reason if you are trying to have multiple "Groups" of 8 or have a device have it's own "collection" i.e. be a server and have 3 devices connect to that, you can.
I haven't "fully" tested but I am going to be doing this in my apps, I did test using multiple keys tho, but not fully, no errors...
I am using Corda Version 4.
My CorDapp has four nodes - Notary node (validating), "Node A", "Node B" and "Node C".
Node A and Node B are to be designed as private nodes, being accessible to one user each.
Node C is a public node, accessible to 5 users.
From documentation in URL "https://github.com/corda/accounts", I understood that by using Corda Accounts the Node C can partition the vault into 5 subsets, where each subset represents an account or user.
To achieve this should I define accounts in node configuration in build.gradle?
Is there any example in the git?
RPC users are defined inside node.conf, where the user is able to connect to the node and call flows.
Accounts is something different, before Corda 4.3 a state would be owned by a party/node so for every user you had to have a node, with Accounts library they introduced a stated called AccountInfo which has a host field which is the node that hosts the account, UUID field (unique on network level), and name field (sort of a username) which is unique on host level (i.e. you can create an account devman on NodeA and account devman on NodeB and they are considered different).
Anyway, there are a lot of concepts in the Accounts library and it's not possible to answer them here, have a look at the IOU example using accounts: https://github.com/opticyclic/corda-accounts-demo
Also the library itself has 3 examples, I recommend looking at the GoldTrading one since it's the most simple one.
So I've this application and have to grant access to type of people the admin and a little group of people who have to edit a little part of an module.
Lets say I've a module which has fields [A, B, C, D], and a group of people need to change the default value of some os the items that module represents, for instance C and D.
Now I've created the the groups, setted the permissions and assigned the test user to that group, editted the security.yml like this: credentials: [[admin, certificatore]] as i need to be an or. Try to access it's not letting me in. where i'm going wrong? myUser extends the sfGuardSecurityUser.
I've noticed that in DB the user, group and permission I've created are not present, but from the backend i can see them...
Have you tried deleting contents of cache folder?
I'm currently working with SterlingDB (not the phone 7 version) and would like to be able to access the same Sterling Database from 2 different applications (and therefore different AppDomains).
I have ascertained that even when you pass a FileSystemDriver to the RegisterDatabase method:
engine.SterlingDatabase.RegisterDatabase<PodcastDatabase>(new FileSystemDriver("MyTestApp/"));
you end up with 2 different databases:
I:\Users\Dave\AppData\Local\Sterling Database\TestMeGo\1123790033 and
I:\Users\Dave\AppData\Local\Sterling Database\TestMeGo\1728918701
This is presumably because the apps are contained in separate AppDomains and the IsolatedStorage which is used by Sterling is compartmentalised accordingly.
Is there a way to have just one Sterling database which more than 1 app can access?
Thanks
It should be possible, as you can read here. You either let the storage be based on the XAP url, or on the source domain. If you can get both apps to be from the same source domain, and use the GetUserStoreForSite method, you should be able to get it to work.