+ """
+ Create RegSlice record according to the slice hrn if the slice
+ does not exist yet.Creates a relationship with the user record
+ associated with the slice.
+ Commit the record to the database.
+ TODO: Update the record if a slice record already exists.
+
+ :param slice_hrn: Human readable name of the slice.
+ :type slice_hrn: string
+ :param slice_record: record of the slice found in the DB, if any.
+ :type slice_record: RegSlice or None
+ :param user_record: user record found in the DB if any.
+ :type user_record: RegUser